From 53760c67946cf8d7c3c387e69de6d66c7becc518 Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Mon, 6 Dec 2021 10:31:10 -0500 Subject: [PATCH] CSR-120: update unit tests for recent updates in develop branch --- src/common-components/vehicle-banner/vehicle-banner.spec.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common-components/vehicle-banner/vehicle-banner.spec.js b/src/common-components/vehicle-banner/vehicle-banner.spec.js index 26f1fcf69..20bbbdaf5 100644 --- a/src/common-components/vehicle-banner/vehicle-banner.spec.js +++ b/src/common-components/vehicle-banner/vehicle-banner.spec.js @@ -6,11 +6,13 @@ describe('vehicleBanner', () => { test('renders the blurrycar image', () => { // Arrange - const mountOptions = getMountOptions(); + const mountOptions = getMountOptions({}); + // Act const wrapper = shallowMount(vehicleBanner, { ...mountOptions }); + // Assert expect(wrapper.find('img').attributes('class')).toContain('blurrycar'); wrapper.unmount();