Fixed unit tests and ran formatter
This commit is contained in:
parent
a99ca76d7d
commit
5ba43cf9d4
1 changed files with 2 additions and 0 deletions
|
|
@ -247,6 +247,7 @@ describe("mobile-location-modal-questions.vue", () => {
|
||||||
attachTo: document.body,
|
attachTo: document.body,
|
||||||
});
|
});
|
||||||
wrapper.vm.$refs.MobileLocationModalWidget.closeModal = jest.fn();
|
wrapper.vm.$refs.MobileLocationModalWidget.closeModal = jest.fn();
|
||||||
|
wrapper.vm.resetModalButtonStyle = jest.fn();
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
wrapper.vm.internalModel = newMobileLocationQuestions;
|
wrapper.vm.internalModel = newMobileLocationQuestions;
|
||||||
|
|
@ -293,6 +294,7 @@ describe("mobile-location-modal-questions.vue", () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
wrapper.vm.internalModel = newMobileLocationQuestions;
|
wrapper.vm.internalModel = newMobileLocationQuestions;
|
||||||
|
wrapper.vm.resetModalButtonStyle = jest.fn();
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
await wrapper.vm.setMobileLocation();
|
await wrapper.vm.setMobileLocation();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue