Fix JSON serialization in project document test
This commit is contained in:
@@ -103,7 +103,7 @@ describe("project document JSON", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
expect(() =>
|
expect(() =>
|
||||||
parseProjectDocumentJson(serializeProjectDocument(document))
|
parseProjectDocumentJson(JSON.stringify(document))
|
||||||
).toThrow("target entry");
|
).toThrow("target entry");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user