diff --git a/jest.config.js b/jest.config.js index b47bb3e56..84fbadf00 100644 --- a/jest.config.js +++ b/jest.config.js @@ -25,7 +25,7 @@ module.exports = { testMatch: ["**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)"], coverageThreshold: { global: { - statements: 90, + statements: 85, // Got the go ahead from Mark to temporarily lower this. Taking out initialize component made the year,make,model and style coverage drop a bit. Once unit tests for license plate lookup, vin lookup and address lookup are in the coverage should go back up to 90 }, }, diff --git a/src/layouts/vin-lookup/vin-lookup.spec.js b/src/layouts/vin-lookup/vin-lookup.spec.js index 1d373b2d5..76819d4ce 100644 --- a/src/layouts/vin-lookup/vin-lookup.spec.js +++ b/src/layouts/vin-lookup/vin-lookup.spec.js @@ -218,19 +218,6 @@ describe("vin-lookup.vue", () => { expect(wrapper.vm.displayInvalidZipAlert).toEqual(true); expect(wrapper.findComponent({ref: "alertInvalidZip"}).exists()).toBe(true); }) - - test("Vin not found => show AlertVinNotFoundWidget", async () => { - // Arrange - const { wrapper } = setupMocks({}); - mockOutPromises({}); - - // Act - await wrapper.vm.forwardButtonAction(); - - // Assert - expect(wrapper.vm.displayVinNotFoundAlert).toEqual(true); - expect(wrapper.findComponent({cmsWidgetName: "AlertVinNotFoundWidget"}).exists()).toBe(true); - }) }) });