aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMiodec <[email protected]>2024-08-12 14:08:46 +0200
committerMiodec <[email protected]>2024-08-12 14:08:46 +0200
commit1566d86d3a0e533fd7d0c54552b90fd0e3c3b00b (patch)
tree823984efeae268bbbab7abbe9bb0ba4c8dad1208
parentec02763c7351d95d3e7613c40ba346f6b4cf60e3 (diff)
downloadmonkeytype-1566d86d3a0e533fd7d0c54552b90fd0e3c3b00b.tar.gz
monkeytype-1566d86d3a0e533fd7d0c54552b90fd0e3c3b00b.zip
as any
-rw-r--r--frontend/__tests__/utils/local-storage-with-schema.spec.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontend/__tests__/utils/local-storage-with-schema.spec.ts b/frontend/__tests__/utils/local-storage-with-schema.spec.ts
index f8dd1964e..311826319 100644
--- a/frontend/__tests__/utils/local-storage-with-schema.spec.ts
+++ b/frontend/__tests__/utils/local-storage-with-schema.spec.ts
@@ -52,8 +52,7 @@ describe("local-storage-with-schema.ts", () => {
hi: "hello",
};
- //@ts-expect-error
- const res = ls.set(obj);
+ const res = ls.set(obj as any);
expect(localStorage.setItem).not.toHaveBeenCalled();
expect(res).toBe(false);