CSR-779 - match mock data to promise data
This commit is contained in:
parent
cafb8d898d
commit
e7bc1f7ecc
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ describe("baseMixin.js", () => {
|
||||||
test("getZipCodeData calls dispatch", () => {
|
test("getZipCodeData calls dispatch", () => {
|
||||||
const mixIn = getMixInInstance({});
|
const mixIn = getMixInInstance({});
|
||||||
mixIn.methods.dispatchStoreAction = jest.fn();
|
mixIn.methods.dispatchStoreAction = jest.fn();
|
||||||
mixIn.methods.dispatchStoreAction.mockReturnValue({ isValid:true, isServiceable:true, state:"OH" });
|
mixIn.methods.dispatchStoreAction.mockReturnValue({data: { isValid:true, isServiceable:true, state:"OH" }});
|
||||||
const type = "";
|
const type = "";
|
||||||
const payload = { zip: 43015 };
|
const payload = { zip: 43015 };
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue