aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-10-10 01:42:37 +0000
committerGitHub <noreply@github.com>2021-10-10 01:42:37 +0000
commitdfcefe1b84cc96ead1c8d8f9aa65ff05ccd70378 (patch)
tree12f1a4ed6da8fd96c034d23bcf08b1535bca1113 /package.json
parent24f4f06db6572d81cadfe191f36c433a79985871 (diff)
parent039095e18562c44edda2c5a83a3d82c2e220b370 (diff)
Merge pull request #1267 from ueokande/move-to-jest
Move to Jest
Diffstat (limited to 'package.json')
-rw-r--r--package.json23
1 files changed, 5 insertions, 18 deletions
diff --git a/package.json b/package.json
index dfddfd9..45f4c4a 100644
--- a/package.json
+++ b/package.json
@@ -9,8 +9,8 @@
"lint": "eslint --ext .ts,.tsx .",
"lint:fix": "eslint --ext .ts,.tsx . --fix",
"type-checks": "tsc --noEmit",
- "test": "karma start",
- "test:e2e": "mocha --timeout 20000 --retries 10 --require ts-node/register --extension ts e2e"
+ "test": "jest",
+ "test:e2e": "jest --config e2e/jest.config.ts e2e"
},
"repository": {
"type": "git",
@@ -24,9 +24,8 @@
"homepage": "https://github.com/ueokande/vim-vixen",
"devDependencies": {
"@types/assert": "^1.4.6",
- "@types/chai": "^4.2.18",
"@types/express": "^4.17.2",
- "@types/mocha": "^8.0.1",
+ "@types/jest": "^27.0.2",
"@types/node": "^14.14.13",
"@types/prop-types": "^15.7.3",
"@types/react": "^17.0.13",
@@ -35,13 +34,11 @@
"@types/react-test-renderer": "^17.0.0",
"@types/redux-promise": "^0.5.28",
"@types/selenium-webdriver": "^4.0.6",
- "@types/sinon": "^10.0.2",
"@types/styled-components": "^5.1.11",
"@typescript-eslint/eslint-plugin": "3.9.0",
"@typescript-eslint/parser": "3.10.1",
"ajv": "^7.0.2",
"ajv-cli": "^5.0.0",
- "chai": "^4.2.0",
"css-loader": "^5.2.6",
"eslint": "7.30.0",
"eslint-config-prettier": "8.3.0",
@@ -50,18 +47,10 @@
"eslint-plugin-standard": "^5.0.0",
"express": "^4.17.1",
"html-webpack-plugin": "4.5.2",
+ "jest": "^27.2.2",
"jsonwebtoken": "^8.5.1",
"jszip": "^3.2.2",
- "karma": "^6.0.1",
- "karma-firefox-launcher": "^2.1.0",
- "karma-html2js-preprocessor": "^1.1.0",
- "karma-mocha": "^2.0.1",
- "karma-mocha-reporter": "^2.2.5",
- "karma-sinon": "^1.0.5",
- "karma-sourcemap-loader": "^0.3.7",
- "karma-webpack": "^4.0.2",
"lanthan": "0.0.2",
- "mocha": "^9.0.2",
"prettier": "2.3.2",
"prettier-eslint": "12.0.0",
"react": "17.0.2",
@@ -72,16 +61,14 @@
"redux-promise": "^0.6.0",
"reflect-metadata": "^0.1.13",
"request-promise-native": "^1.0.8",
- "sinon": "^11.1.1",
- "sinon-chrome": "^3.0.1",
"style-loader": "^2.0.0",
"styled-components": "^5.3.0",
+ "ts-jest": "^27.0.5",
"ts-loader": "^8.0.2",
"ts-node": "^10.0.0",
"tsyringe": "4.5.0",
"typescript": "4.3.5",
"web-ext-types": "^3.2.1",
- "webextensions-api-fake": "^0.9.1",
"webpack": "4.46.0",
"webpack-cli": "4.7.0"
}