File tree 2 files changed +2
-11
lines changed
2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change 14
14
class="navigator"
15
15
>
16
16
<NavigatorCard
17
- v-show ="!isFetching"
17
+ v-if ="!isFetching"
18
18
v-bind="technologyProps"
19
19
:type="type"
20
20
:children="flatChildren"
36
36
</NavigatorCard>
37
37
<LoadingNavigatorCard
38
38
@close="$emit('close')"
39
- v-if="isFetching"
39
+ v-else
40
40
/>
41
41
<div aria-live="polite" class="visuallyhidden">
42
42
{{ $t('navigator.navigator-is', {
Original file line number Diff line number Diff line change @@ -126,15 +126,6 @@ describe('Navigator', () => {
126
126
expect ( wrapper . find ( LoadingNavigatorCard ) . exists ( ) ) . toBe ( false ) ;
127
127
} ) ;
128
128
129
- it ( 'adds display:none to NavigatorCard when navigator is loading' , ( ) => {
130
- const wrapper = createWrapper ( {
131
- propsData : {
132
- isFetching : true ,
133
- } ,
134
- } ) ;
135
- expect ( wrapper . find ( NavigatorCard ) . attributes ( 'style' ) ) . toContain ( 'display: none' ) ;
136
- } ) ;
137
-
138
129
it ( 'renders an aria live that tells VO users when navigator is ready' , ( ) => {
139
130
const wrapper = createWrapper ( ) ;
140
131
expect ( wrapper . find ( '[aria-live="polite"]' ) . exists ( ) ) . toBe ( true ) ;
You can’t perform that action at this time.
0 commit comments