@@ -84,7 +84,7 @@ describe('component props (vapor)', () => {
84
84
// expect(props.qux).toEqual(5) // TODO: attrs
85
85
} )
86
86
87
- test ( 'stateful with setup' , ( ) => {
87
+ test . todo ( 'stateful with setup' , ( ) => {
88
88
// TODO:
89
89
} )
90
90
@@ -294,7 +294,7 @@ describe('component props (vapor)', () => {
294
294
// expect(defaultFn).toHaveBeenCalledTimes(1) // failed: caching is not supported (called 3 times)
295
295
} )
296
296
297
- test ( 'using inject in default value factory' , ( ) => {
297
+ test . todo ( 'using inject in default value factory' , ( ) => {
298
298
// TODO: impl inject
299
299
} )
300
300
@@ -356,24 +356,24 @@ describe('component props (vapor)', () => {
356
356
// expect(host.innerHTML).toBe('<div id="b">2</div>') // TODO: Fallthrough Attributes
357
357
} )
358
358
359
- test ( 'validator' , ( ) => {
359
+ test . todo ( 'validator' , ( ) => {
360
360
// TODO: impl validator
361
361
} )
362
362
363
363
test ( 'warn props mutation' , ( ) => {
364
364
// TODO: impl warn
365
365
} )
366
366
367
- test ( 'warn absent required props' , ( ) => {
367
+ test . todo ( 'warn absent required props' , ( ) => {
368
368
// TODO: impl warn
369
369
} )
370
370
371
- test ( 'warn on type mismatch' , ( ) => {
371
+ test . todo ( 'warn on type mismatch' , ( ) => {
372
372
// TODO: impl warn
373
373
} )
374
374
375
375
// #3495
376
- test ( 'should not warn required props using kebab-case' , async ( ) => {
376
+ test . todo ( 'should not warn required props using kebab-case' , async ( ) => {
377
377
// TODO: impl warn
378
378
} )
379
379
@@ -411,33 +411,36 @@ describe('component props (vapor)', () => {
411
411
} )
412
412
413
413
// #3288
414
- test ( 'declared prop key should be present even if not passed' , async ( ) => {
415
- // let initialKeys: string[] = []
416
- // const changeSpy = vi.fn()
417
- // const passFoo = ref(false)
418
- // const Comp = {
419
- // props: ['foo'],
420
- // setup() {
421
- // const instance = getCurrentInstance()!
422
- // initialKeys = Object.keys(instance.props)
423
- // watchEffect(changeSpy)
424
- // return {}
425
- // },
426
- // render() {
427
- // return {}
428
- // },
429
- // }
430
- // const Parent = createIf(
431
- // () => passFoo.value,
432
- // () => {
433
- // return render(Comp , { foo: 1 }, host) // TODO: createComponent fn
434
- // },
435
- // )
436
- // // expect(changeSpy).toHaveBeenCalledTimes(1)
437
- } )
414
+ test . todo (
415
+ 'declared prop key should be present even if not passed' ,
416
+ async ( ) => {
417
+ // let initialKeys: string[] = []
418
+ // const changeSpy = vi.fn()
419
+ // const passFoo = ref(false)
420
+ // const Comp = {
421
+ // props: ['foo'],
422
+ // setup() {
423
+ // const instance = getCurrentInstance()!
424
+ // initialKeys = Object.keys(instance.props)
425
+ // watchEffect(changeSpy)
426
+ // return {}
427
+ // },
428
+ // render() {
429
+ // return {}
430
+ // },
431
+ // }
432
+ // const Parent = createIf(
433
+ // () => passFoo.value,
434
+ // () => {
435
+ // return render(Comp , { foo: 1 }, host) // TODO: createComponent fn
436
+ // },
437
+ // )
438
+ // // expect(changeSpy).toHaveBeenCalledTimes(1)
439
+ } ,
440
+ )
438
441
439
442
// #3371
440
- test ( `avoid double-setting props when casting` , async ( ) => {
443
+ test . todo ( `avoid double-setting props when casting` , async ( ) => {
441
444
// TODO: proide, slots
442
445
} )
443
446
@@ -459,7 +462,7 @@ describe('component props (vapor)', () => {
459
462
} )
460
463
461
464
// #5016
462
- test ( 'handling attr with undefined value' , ( ) => {
465
+ test . todo ( 'handling attr with undefined value' , ( ) => {
463
466
// TODO: attrs
464
467
} )
465
468
0 commit comments