Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Jun 17, 2021
1 parent f188323 commit 019bd78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/runtime-core/__tests__/components/Suspense.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,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 @@ -1218,7 +1218,7 @@ describe('Suspense', () => {
test('does not warn on <component :is="null" />', async () => {
checkNoWarn({
default: () => [resolveDynamicComponent(null)]
// fallback: () => null
fallback: () => resolveDynamicComponent(null)
})
})

Expand Down

0 comments on commit 019bd78

Please sign in to comment.