CSR-2266 | Unit Tests & formatting
This commit is contained in:
parent
fcd5c99cf3
commit
5c2876d6a4
2 changed files with 2 additions and 1 deletions
|
|
@ -485,6 +485,7 @@ function setupMocks({ customMountOptions, customZipQuery, customZipDataResponse
|
||||||
}),
|
}),
|
||||||
setCmsContent: jest.fn(),
|
setCmsContent: jest.fn(),
|
||||||
navigateForwardWithSingleCarMatch: jest.fn(),
|
navigateForwardWithSingleCarMatch: jest.fn(),
|
||||||
|
getAndSaveBillToAccountNumber: jest.fn(),
|
||||||
getZipCodeData: jest.fn().mockImplementation(() => {
|
getZipCodeData: jest.fn().mockImplementation(() => {
|
||||||
if (customZipDataResponse) {
|
if (customZipDataResponse) {
|
||||||
return customZipDataResponse;
|
return customZipDataResponse;
|
||||||
|
|
|
||||||
|
|
@ -345,7 +345,7 @@ export default {
|
||||||
},
|
},
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
|
|
||||||
await this.getAndSaveBillToAccountNumber();
|
await this.getAndSaveBillToAccountNumber();
|
||||||
return await this.navigateForward();
|
return await this.navigateForward();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue