Update jest version to 27.x
This commit is contained in:
parent
f4abfeb4c9
commit
b52805ca89
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue