We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0116949 commit 1bbffb3Copy full SHA for 1bbffb3
src/localStorage.test.js
@@ -86,7 +86,7 @@ describe("parseJsonContent", () => {
86
});
87
88
it("should throw an error for invalid JSON", () => {
89
- // Temporarily spy on console.error and replace it with a function that does nothing.
+ // Temporarily spy on console.error and replace it with a function that does nothing.
90
const consoleErrorSpy = jest.spyOn(console, "error").mockImplementation(() => {});
91
const invalidJson = "{invalid}";
92
expect(() => parseJsonContent(invalidJson)).toThrow("Invalid JSON content");
0 commit comments