diff --git a/src/digital-components/modal/modal.spec.js b/src/digital-components/modal/modal.spec.js index ace7d49a5..bcd6303bd 100644 --- a/src/digital-components/modal/modal.spec.js +++ b/src/digital-components/modal/modal.spec.js @@ -114,7 +114,6 @@ describe("modal.vue", () => { // Assert expect(wrapper.vm.isFooterButtonDisabled).toBe(true); - }); it("Should have a disabled footer button when the form is invalid", async () => { @@ -139,7 +138,6 @@ describe("modal.vue", () => { // Assert expect(wrapper.vm.isFooterButtonDisabled).toBe(true); - }); it("Should call bootstrap Modal method 'show' when calling 'openModal'", async () => { @@ -151,8 +149,7 @@ describe("modal.vue", () => { useIsFormDirty.mockReturnValue(true); useIsFormValid.mockReturnValue(true); - const showMock = jest - .spyOn(Modal.prototype, "show"); + const showMock = jest.spyOn(Modal.prototype, "show"); const resetButtonStyle = jest.fn(); const wrapper = shallowMount(modal, { @@ -169,7 +166,6 @@ describe("modal.vue", () => { // Assert expect(showMock).toHaveBeenCalled(); - }); it("Should call bootstrap Modal method 'hide' when calling 'closeModal'", async () => { @@ -181,8 +177,7 @@ describe("modal.vue", () => { useIsFormDirty.mockReturnValue(true); useIsFormValid.mockReturnValue(true); - const hideMock = jest - .spyOn(Modal.prototype, "hide"); + const hideMock = jest.spyOn(Modal.prototype, "hide"); const resetButtonStyle = jest.fn(); const wrapper = shallowMount(modal, { @@ -200,7 +195,6 @@ describe("modal.vue", () => { // Assert expect(hideMock).toHaveBeenCalled(); - }); - + });