CSR-120: update unit tests for recent updates in develop branch
This commit is contained in:
parent
edf9608b0d
commit
53760c6794
1 changed files with 3 additions and 1 deletions
|
|
@ -6,11 +6,13 @@ describe('vehicleBanner', () => {
|
||||||
|
|
||||||
test('renders the blurrycar image', () => {
|
test('renders the blurrycar image', () => {
|
||||||
// Arrange
|
// Arrange
|
||||||
const mountOptions = getMountOptions();
|
const mountOptions = getMountOptions({});
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
const wrapper = shallowMount(vehicleBanner, {
|
const wrapper = shallowMount(vehicleBanner, {
|
||||||
...mountOptions
|
...mountOptions
|
||||||
});
|
});
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
expect(wrapper.find('img').attributes('class')).toContain('blurrycar');
|
expect(wrapper.find('img').attributes('class')).toContain('blurrycar');
|
||||||
wrapper.unmount();
|
wrapper.unmount();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue