shell test for navigation

This commit is contained in:
Katie Kroell 2024-01-31 15:11:17 -05:00
parent 2942a9bbab
commit 2ede50d973

View file

@ -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);
// });
});
});
});