fix unit test
This commit is contained in:
parent
c6bff1797e
commit
faee351ca1
1 changed files with 3 additions and 3 deletions
|
|
@ -797,8 +797,8 @@ describe.skip('coverageStatement.vue', () => {
|
|||
});
|
||||
|
||||
describe('coverageStatement.vue-working', () => {
|
||||
describe('Navigation', () => {
|
||||
test('Function called on any FORWARD navigation', () => {
|
||||
describe('ITAC flag', () => {
|
||||
test('ITAC flag updated once component is initialized', () => {
|
||||
// Arrange
|
||||
const mainInitialState = {
|
||||
order: {
|
||||
|
|
@ -810,7 +810,7 @@ describe('coverageStatement.vue-working', () => {
|
|||
const { wrapper } = getMountedComponent(mainInitialState);
|
||||
|
||||
// Act
|
||||
wrapper.vm.forwardButtonAction();
|
||||
wrapper.vm.initializeComponent();
|
||||
|
||||
// Assert
|
||||
expect(wrapper.vm.mainStore.updatePolicyITACFlag)
|
||||
|
|
|
|||
Loading…
Reference in a new issue