Skip to content

Commit 583ba3c

Browse files
corrected test suits
1 parent bdd6012 commit 583ba3c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contentcuration/contentcuration/frontend/shared/views/__tests__/StudioNavigation.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import userEvent from '@testing-library/user-event';
33
import { createLocalVue } from '@vue/test-utils';
44
import Vuex from 'vuex';
55
import VueRouter from 'vue-router';
6-
import StudioNavigation from '../StudioNavigation';
6+
import StudioNavigation from '../StudioNavigation/StudioNavigation.vue';
77

88
const localVue = createLocalVue();
99
localVue.use(Vuex);

contentcuration/contentcuration/frontend/shared/views/__tests__/StudioNavigationTab.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ describe('StudioNavigationTab', () => {
100100
});
101101

102102
const link = screen.getByRole('link', { name: 'Channels' });
103-
expect(link).toHaveAttribute('aria-current', 'Navigation');
103+
expect(link).toHaveAttribute('aria-current', 'page');
104104
});
105105

106106
it('should not show active indicator when not on current page', async () => {

0 commit comments

Comments
 (0)