Update jest version to 27.x

This commit is contained in:
AkiraFukushima 2021-10-02 17:08:51 +09:00
parent f4abfeb4c9
commit b52805ca89
No known key found for this signature in database
GPG key ID: B6E51BAC4DE1A957
3 changed files with 909 additions and 1693 deletions

View file

@ -46,7 +46,7 @@
},
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.json"
"tsconfig": "tsconfig.json"
}
},
"testEnvironment": "node"
@ -82,11 +82,11 @@
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-standard": "^5.0.0",
"jest": "^26.6.3",
"jest-worker": "^26.0.0",
"jest": "^27.2.4",
"jest-worker": "^27.2.4",
"lodash": "^4.17.14",
"prettier": "^2.0.2",
"ts-jest": "^26.4.4",
"ts-jest": "^27.0.5",
"typedoc": "^0.22.4"
}
}

View file

@ -1,5 +1,5 @@
import MastodonAPI from '@/mastodon/api_client'
import Worker from 'jest-worker'
import { Worker } from 'jest-worker'
jest.mock('axios', () => {
const mockAxios = jest.requireActual('axios')

2592
yarn.lock

File diff suppressed because it is too large Load diff