|
6 | 6 | "homepage": "https://github.com/reduxjs/redux-devtools/tree/master/extension", |
7 | 7 | "license": "MIT", |
8 | 8 | "author": "Mihail Diordiev <zalmoxisus@gmail.com> (https://github.com/zalmoxisus)", |
| 9 | + "type": "module", |
9 | 10 | "repository": { |
10 | 11 | "type": "git", |
11 | 12 | "url": "https://github.com/reduxjs/redux-devtools.git" |
|
15 | 16 | "build:extension": "node build.mjs", |
16 | 17 | "build:examples": "babel-node examples/buildAll.js", |
17 | 18 | "clean": "rimraf dist && rimraf chrome/dist && rimraf edge/dist && rimraf firefox/dist", |
18 | | - "test:app": "cross-env BABEL_ENV=test jest test/app", |
19 | | - "test:chrome": "cross-env SE_FORCE_BROWSER_DOWNLOAD=true jest test/chrome", |
| 19 | + "test:app": "cross-env BABEL_ENV=test node --experimental-vm-modules node_modules/jest/bin/jest.js test/app", |
| 20 | + "test:chrome": "cross-env SE_FORCE_BROWSER_DOWNLOAD=true node --experimental-vm-modules node_modules/jest/bin/jest.js test/chrome", |
20 | 21 | "build:test:electron:fixture": "webpack --config test/electron/fixture/webpack.config.js", |
21 | | - "test:electron": "pnpm run build:test:electron:fixture && jest test/electron", |
| 22 | + "test:electron": "pnpm run build:test:electron:fixture && node --experimental-vm-modules node_modules/jest/bin/jest.js test/electron", |
22 | 23 | "test": "pnpm run test:app && pnpm run test:chrome && pnpm run test:electron", |
23 | 24 | "lint": "eslint .", |
24 | 25 | "type-check": "tsc --noEmit" |
|
53 | 54 | "@babel/preset-react": "^7.28.5", |
54 | 55 | "@babel/preset-typescript": "^7.28.5", |
55 | 56 | "@babel/register": "^7.28.6", |
| 57 | + "@jest/globals": "^30.2.0", |
56 | 58 | "@testing-library/dom": "^10.4.1", |
57 | 59 | "@testing-library/jest-dom": "^6.9.1", |
58 | 60 | "@testing-library/react": "^16.3.2", |
|
0 commit comments