diff --git a/.eslintrc.yaml b/.eslintrc.yaml index 738b0ee20..edb20bfe1 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -2,7 +2,7 @@ parser: "@typescript-eslint/parser" env: browser: true es6: true # Map, etc. - mocha: true + jest: true node: true parserOptions: diff --git a/ci/dev/test.sh b/ci/dev/test.sh index 9922a9c84..613e25c3f 100755 --- a/ci/dev/test.sh +++ b/ci/dev/test.sh @@ -7,7 +7,7 @@ main() { cd test/test-plugin make -s out/index.js cd "$OLDPWD" - mocha -r ts-node/register ./test/*.test.ts "$@" + yarn jest "$@" } main "$@" diff --git a/package.json b/package.json index 24e9008c3..0f73c9793 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,6 @@ "@types/http-proxy": "^1.17.4", "@types/jest": "^26.0.20", "@types/js-yaml": "^3.12.3", - "@types/mocha": "^8.0.3", "@types/node": "^12.12.7", "@types/node-fetch": "^2.5.7", "@types/parcel-bundler": "^1.12.1", @@ -58,7 +57,6 @@ "eslint-plugin-prettier": "^3.1.0", "jest": "^26.6.3", "leaked-handles": "^5.2.0", - "mocha": "^8.1.2", "parcel-bundler": "^1.12.4", "prettier": "^2.0.5", "stylelint": "^13.0.0",