Skip to content

Commit

Permalink
chore: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Oct 31, 2023
1 parent a208a2a commit ed587e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/runtime-core/__tests__/components/Suspense.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
Fragment
} from '@vue/runtime-test'
import { createApp, defineComponent } from 'vue'
import { RawSlots } from 'packages/runtime-core/src/componentSlots'
import { type RawSlots } from 'packages/runtime-core/src/componentSlots'

describe('Suspense', () => {
const deps: Promise<any>[] = []
Expand Down Expand Up @@ -1528,7 +1528,7 @@ describe('Suspense', () => {
})

describe('warnings', () => {
// base function to check if a combination of solts warns or not
// base function to check if a combination of slots warns or not
function baseCheckWarn(
shouldWarn: boolean,
children: RawSlots,
Expand Down Expand Up @@ -1572,8 +1572,8 @@ describe('Suspense', () => {

test('does not warn on <component :is="null" />', async () => {
checkNoWarn({
default: () => [resolveDynamicComponent(null)]
// fallback: () => null
default: () => [resolveDynamicComponent(null)],
fallback: () => null
})
})

Expand Down

0 comments on commit ed587e3

Please sign in to comment.