Start of unit tests for alerts

This commit is contained in:
Kroell 2023-01-09 16:50:00 -05:00
parent 813eddf124
commit 1dca9f7f6c
4 changed files with 3 additions and 4 deletions

View file

@ -3,6 +3,7 @@
alert-class="alert-danger" alert-class="alert-danger"
cms-widget-name="AlertVinNotFoundWidget" cms-widget-name="AlertVinNotFoundWidget"
id="vehicle-not-found-alert" id="vehicle-not-found-alert"
aria-label="vehicle-not-found-alert"
/> />
</template> </template>
<script> <script>

View file

@ -4,6 +4,7 @@
cms-widget-name="AlertMatchedDifferentVehicleWidget" cms-widget-name="AlertMatchedDifferentVehicleWidget"
:manual-copy="body" :manual-copy="body"
:manual-headline="header" :manual-headline="header"
aria-label="vehicle-not-matched-alert"
/> />
</template> </template>
<script> <script>

View file

@ -164,7 +164,4 @@ function setupMocks({
wrapper.vm.$refs.siteFooter.updateButtonText = jest.fn(); wrapper.vm.$refs.siteFooter.updateButtonText = jest.fn();
return { wrapper, apiPromise }; return { wrapper, apiPromise };
} }
// npm run test:unit src/layouts/license-plate-lookup/license-plate-lookup.spec.js