Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Remove superfluous `jest-localstorage-mock` (#69455)

Nemanja Glumacd0cef57a4f5f
diff --git a/bun.lock b/bun.lock
index 9d7182bfa8c..7990a119eb1 100644
--- a/bun.lock
+++ b/bun.lock
@@ -328,7 +328,6 @@
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^16.0.0",
- "jest-localstorage-mock": "^2.4.22",
"jest-watch-typeahead": "^2.2.1",
"jose": "^5.6.3",
"json-to-pretty-yaml": "^1.2.2",
@@ -3467,8 +3466,6 @@
"jest-leak-detector": ["[email protected]", "", { "dependencies": { "jest-get-type": "^29.6.3", "pretty-format": "^29.7.0" } }, "sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw=="],
- "jest-localstorage-mock": ["[email protected]", "", {}, "sha512-60PWSDFQOS5v7JzSmYLM3dPLg0JLl+2Vc4lIEz/rj2yrXJzegsFLn7anwc5IL0WzJbBa/Las064CHbFg491/DQ=="],
-
"jest-matcher-utils": ["[email protected]", "", { "dependencies": { "chalk": "^4.0.0", "jest-diff": "^29.3.1", "jest-get-type": "^29.2.0", "pretty-format": "^29.3.1" } }, "sha512-fkRMZUAScup3txIKfMe3AIZZmPEjWEdsPJFK3AIy5qRohWqQFg1qrmKfYXR9qEkNc7OdAu2N4KPHibEmy4HPeQ=="],
"jest-message-util": ["[email protected]", "", { "dependencies": { "@babel/code-frame": "^7.12.13", "@jest/types": "^29.3.1", "@types/stack-utils": "^2.0.0", "chalk": "^4.0.0", "graceful-fs": "^4.2.9", "micromatch": "^4.0.4", "pretty-format": "^29.3.1", "slash": "^3.0.0", "stack-utils": "^2.0.3" } }, "sha512-lMJTbgNcDm5z+6KDxWtqOFWlGQxD6XaYwBqHR8kmpkP+WWWG90I35kdtQHY67Ay5CSuydkTBbJG+tH9JShFCyA=="],
diff --git a/frontend/test/jest-setup.js b/frontend/test/jest-setup.js
index 3f557847353..e5b9009a9d3 100644
--- a/frontend/test/jest-setup.js
+++ b/frontend/test/jest-setup.js
@@ -4,7 +4,6 @@ import { Crypto, CryptoKey } from "@peculiar/webcrypto";
import { ReadableStream } from "web-streams-polyfill";
import "cross-fetch/polyfill";
import "raf/polyfill";
-import "jest-localstorage-mock";
import "jest-canvas-mock";
import "metabase/lib/dayjs";
import "__support__/mocks";
diff --git a/package.json b/package.json
index a8695fbf8cb..8987111bc90 100644
--- a/package.json
+++ b/package.json
@@ -333,7 +333,6 @@
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^16.0.0",
- "jest-localstorage-mock": "^2.4.22",
"jest-watch-typeahead": "^2.2.1",
"jose": "^5.6.3",
"json-to-pretty-yaml": "^1.2.2",