chore: upgrade jest to v28

This commit is contained in:
Peter Evans 2022-05-08 17:29:44 +09:00
parent ec06329f80
commit aca11f8b60
3 changed files with 3924 additions and 1697 deletions

View file

@ -10,7 +10,7 @@ if [[ "$(docker images -q $IMAGE 2> /dev/null)" == "" || $ARG1 == "build" ]]; th
cat > Dockerfile << EOF cat > Dockerfile << EOF
FROM node:12-alpine FROM node:12-alpine
RUN apk --no-cache add git git-daemon RUN apk --no-cache add git git-daemon
RUN npm install jest --global RUN npm install jest jest-environment-jsdom --global
WORKDIR /cpr WORKDIR /cpr
COPY __test__/entrypoint.sh /entrypoint.sh COPY __test__/entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]

5594
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -38,7 +38,7 @@
"uuid": "^8.3.2" "uuid": "^8.3.2"
}, },
"devDependencies": { "devDependencies": {
"@types/jest": "^27.0.3", "@types/jest": "^27.5.0",
"@types/node": "^16.11.11", "@types/node": "^16.11.11",
"@typescript-eslint/parser": "^5.5.0", "@typescript-eslint/parser": "^5.5.0",
"@vercel/ncc": "^0.32.0", "@vercel/ncc": "^0.32.0",
@ -46,12 +46,13 @@
"eslint-import-resolver-typescript": "^2.5.0", "eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-github": "^4.3.5", "eslint-plugin-github": "^4.3.5",
"eslint-plugin-import": "^2.25.3", "eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^25.3.0", "eslint-plugin-jest": "^26.1.5",
"jest": "^27.4.3", "jest": "^28.1.0",
"jest-circus": "^27.4.2", "jest-circus": "^28.1.0",
"jest-environment-jsdom": "^28.1.0",
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
"prettier": "^2.5.0", "prettier": "^2.5.0",
"ts-jest": "^27.0.7", "ts-jest": "^28.0.2",
"typescript": "^4.5.2" "typescript": "^4.5.2"
} }
} }