Skip to content

Commit 019bd78

Browse files
authored
Apply suggestions from code review
1 parent f188323 commit 019bd78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/runtime-core/__tests__/components/Suspense.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,7 @@ describe('Suspense', () => {
11731173
})
11741174

11751175
describe('warnings', () => {
1176-
// base function to check if a combination of solts warns or not
1176+
// base function to check if a combination of slots warns or not
11771177
function baseCheckWarn(
11781178
shouldWarn: boolean,
11791179
children: RawSlots,
@@ -1218,7 +1218,7 @@ describe('Suspense', () => {
12181218
test('does not warn on <component :is="null" />', async () => {
12191219
checkNoWarn({
12201220
default: () => [resolveDynamicComponent(null)]
1221-
// fallback: () => null
1221+
fallback: () => resolveDynamicComponent(null)
12221222
})
12231223
})
12241224

0 commit comments

Comments
 (0)