File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/runtime-core/__tests__/components Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import {
22
22
Fragment
23
23
} from '@vue/runtime-test'
24
24
import { createApp , defineComponent } from 'vue'
25
- import { RawSlots } from 'packages/runtime-core/src/componentSlots'
25
+ import { type RawSlots } from 'packages/runtime-core/src/componentSlots'
26
26
27
27
describe ( 'Suspense' , ( ) => {
28
28
const deps : Promise < any > [ ] = [ ]
@@ -1528,7 +1528,7 @@ describe('Suspense', () => {
1528
1528
} )
1529
1529
1530
1530
describe ( 'warnings' , ( ) => {
1531
- // base function to check if a combination of solts warns or not
1531
+ // base function to check if a combination of slots warns or not
1532
1532
function baseCheckWarn (
1533
1533
shouldWarn : boolean ,
1534
1534
children : RawSlots ,
@@ -1572,8 +1572,8 @@ describe('Suspense', () => {
1572
1572
1573
1573
test ( 'does not warn on <component :is="null" />' , async ( ) => {
1574
1574
checkNoWarn ( {
1575
- default : ( ) => [ resolveDynamicComponent ( null ) ]
1576
- // fallback: () => null
1575
+ default : ( ) => [ resolveDynamicComponent ( null ) ] ,
1576
+ fallback : ( ) => null
1577
1577
} )
1578
1578
} )
1579
1579
You can’t perform that action at this time.
0 commit comments