Update test to use projectDocument instead of document
This commit is contained in:
@@ -139,7 +139,10 @@ describe("App project persistence controls", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
await waitFor(() => {
|
await waitFor(() => {
|
||||||
expect(saveProjectPackageMock).toHaveBeenCalledWith(store.getState().document, null);
|
expect(saveProjectPackageMock).toHaveBeenCalledWith(
|
||||||
|
store.getState().projectDocument,
|
||||||
|
null
|
||||||
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user