@@ -84,7 +84,7 @@ describe('component props (vapor)', () => {
8484 // expect(props.qux).toEqual(5) // TODO: attrs
8585 } )
8686
87- test ( 'stateful with setup' , ( ) => {
87+ test . todo ( 'stateful with setup' , ( ) => {
8888 // TODO:
8989 } )
9090
@@ -294,7 +294,7 @@ describe('component props (vapor)', () => {
294294 // expect(defaultFn).toHaveBeenCalledTimes(1) // failed: caching is not supported (called 3 times)
295295 } )
296296
297- test ( 'using inject in default value factory' , ( ) => {
297+ test . todo ( 'using inject in default value factory' , ( ) => {
298298 // TODO: impl inject
299299 } )
300300
@@ -356,24 +356,24 @@ describe('component props (vapor)', () => {
356356 // expect(host.innerHTML).toBe('<div id="b">2</div>') // TODO: Fallthrough Attributes
357357 } )
358358
359- test ( 'validator' , ( ) => {
359+ test . todo ( 'validator' , ( ) => {
360360 // TODO: impl validator
361361 } )
362362
363- test ( 'warn props mutation' , ( ) => {
363+ test . todo ( 'warn props mutation' , ( ) => {
364364 // TODO: impl warn
365365 } )
366366
367- test ( 'warn absent required props' , ( ) => {
367+ test . todo ( 'warn absent required props' , ( ) => {
368368 // TODO: impl warn
369369 } )
370370
371- test ( 'warn on type mismatch' , ( ) => {
371+ test . todo ( 'warn on type mismatch' , ( ) => {
372372 // TODO: impl warn
373373 } )
374374
375375 // #3495
376- test ( 'should not warn required props using kebab-case' , async ( ) => {
376+ test . todo ( 'should not warn required props using kebab-case' , async ( ) => {
377377 // TODO: impl warn
378378 } )
379379
@@ -411,33 +411,36 @@ describe('component props (vapor)', () => {
411411 } )
412412
413413 // #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+ )
438441
439442 // #3371
440- test ( `avoid double-setting props when casting` , async ( ) => {
443+ test . todo ( `avoid double-setting props when casting` , async ( ) => {
441444 // TODO: proide, slots
442445 } )
443446
@@ -459,7 +462,7 @@ describe('component props (vapor)', () => {
459462 } )
460463
461464 // #5016
462- test ( 'handling attr with undefined value' , ( ) => {
465+ test . todo ( 'handling attr with undefined value' , ( ) => {
463466 // TODO: attrs
464467 } )
465468
0 commit comments