build: upgrade jest

This commit is contained in:
EnixCoda 2022-11-07 22:36:18 +08:00
parent 8fdf1cbb74
commit 933839fb00
2 changed files with 1036 additions and 1197 deletions

View file

@ -18,6 +18,7 @@
"build": "VERSION=v$(node scripts/get-version.js) NODE_ENV=production webpack",
"roll": "make release",
"test": "yarn run test:parallel && yarn run test:non-parallel",
"test:unit": "NODE_ENV=test jest --config jest.config.js",
"test:parallel": "NODE_ENV=test jest --config __tests__/jest.parallel.config.js",
"test:non-parallel": "NODE_ENV=test jest --config __tests__/jest.non-parallel.config.js"
},
@ -59,7 +60,7 @@
"@sentry/cli": "^1.64.2",
"@testing-library/react": "^13.3.0",
"@types/firefox-webext-browser": "^70.0.1",
"@types/jest": "^26.0.23",
"@types/jest": "^29.2.2",
"@types/node": "^11.10.4",
"@types/puppeteer": "^5.4.3",
"@typescript-eslint/eslint-plugin": "^5.33.1",
@ -77,7 +78,8 @@
"file-loader": "^3.0.1",
"fork-ts-checker-webpack-plugin": "^6.5.0",
"husky": "^8.0.1",
"jest": "^27.0.6",
"jest": "^29.2.2",
"jest-environment-jsdom": "^29.2.2",
"jest-puppeteer": "^6.1.0",
"json-loader": "^0.5.7",
"lint-staged": "^13.0.3",

2227
yarn.lock

File diff suppressed because it is too large Load diff