diff --git a/src/common-components/vehicle-banner/vehicle-banner.spec.js b/src/common-components/vehicle-banner/vehicle-banner.spec.js index 14c5a318..f36dd257 100644 --- a/src/common-components/vehicle-banner/vehicle-banner.spec.js +++ b/src/common-components/vehicle-banner/vehicle-banner.spec.js @@ -42,7 +42,7 @@ const mockMixin = { describe("vehicleBanner", () => { - test("renders the blurrycar image", async () => { + test("renders the blurrycar image when displayGenericVehicleImage is true", async () => { const wrapper = shallowMount(vehicleBanner, { propsData: { @@ -75,7 +75,7 @@ describe("vehicleBanner", () => { }); - test("should render car icon when imageUrl is null and category is default", async () => { + test("should render default car icon when imageUrl is null and category is default", async () => { store.order.vehicle.imageUrl = null; @@ -101,7 +101,7 @@ describe("vehicleBanner", () => { ["SUV", "suv-placeholder.jpg"], ["OTHER", "car-placeholder.jpg"]]; - test.each(params)("renders an icon instead of an image for %s and %s", async (category, expectedIcon) => { + test.each(params)("renders correct icon when imageUrl is not populated for %s and %s", async (category, expectedIcon) => { store.order.vehicle.imageUrl = null; store.order.vehicle.category = category;