File tree 1 file changed +5
-5
lines changed
themes/theme-default/tests
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -75,11 +75,11 @@ it('navbar options', () => {
75
75
} ,
76
76
]
77
77
78
- expectTypeOf ( navbarOptions1 ) . toMatchTypeOf < NavbarOptions > ( )
79
- expectTypeOf ( navbarOptions2 ) . toMatchTypeOf < NavbarOptions > ( )
80
- expectTypeOf ( navbarOptions3 ) . toMatchTypeOf < NavbarOptions > ( )
81
- expectTypeOf ( navbarOptions4 ) . toMatchTypeOf < NavbarOptions > ( )
82
- expectTypeOf ( navbarOptions5 ) . toMatchTypeOf < NavbarOptions > ( )
78
+ expectTypeOf ( navbarOptions1 ) . toExtend < NavbarOptions > ( )
79
+ expectTypeOf ( navbarOptions2 ) . toExtend < NavbarOptions > ( )
80
+ expectTypeOf ( navbarOptions3 ) . toExtend < NavbarOptions > ( )
81
+ expectTypeOf ( navbarOptions4 ) . toExtend < NavbarOptions > ( )
82
+ expectTypeOf ( navbarOptions5 ) . toExtend < NavbarOptions > ( )
83
83
// @ts -expect-error: navbar can only support 3 level nesting
84
84
assertType < NavbarOptions > ( navbarOptions6 )
85
85
} )
You can’t perform that action at this time.
0 commit comments