shell test for navigation
This commit is contained in:
parent
2942a9bbab
commit
2ede50d973
1 changed files with 11 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ import { fetchCmsContentForPage } from '@/helpers/cms-content-helper';
|
|||
import { mount } from '@vue/test-utils';
|
||||
import { createTestingPinia } from '@pinia/testing';
|
||||
import bailoutMessage from '@/constants/bailoutMessage';
|
||||
import navigationScenarios from '@/router/router-constants/navigation-scenarios.js';
|
||||
|
||||
jest.mock('@/helpers/layout-helper.js', () => jest.fn());
|
||||
|
||||
|
|
@ -352,7 +353,17 @@ describe('TPAConfirmation.vue', () => {
|
|||
});
|
||||
// TODO: Add tests for forward navigation to carrier URL
|
||||
describe('Navigation', () => {
|
||||
// test('Forward button action, navigate forward with CLICKED_FORWARD scenario', () => {
|
||||
// // Arrange
|
||||
// const { wrapper } = getMountedComponent({});
|
||||
|
||||
// // Act
|
||||
// wrapper.vm.forwardButtonAction();
|
||||
|
||||
// // Assert
|
||||
// expect(wrapper.vm.$router.navigate)
|
||||
// .toHaveBeenCalledWith(navigationScenarios.CLICKED_FORWARD);
|
||||
// });
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue