зеркало из https://github.com/nextcloud/text.git
Use regenerator-runtime for jest tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Родитель
4824549815
Коммит
7dc46f8cc3
|
@ -5,7 +5,6 @@
|
|||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "text",
|
||||
"version": "3.4.0",
|
||||
"license": "agpl",
|
||||
"dependencies": {
|
||||
|
@ -55,6 +54,7 @@
|
|||
"jest": "^27.3.1",
|
||||
"jest-environment-jsdom": "^27.3.1",
|
||||
"jest-serializer-vue": "^2.0.2",
|
||||
"regenerator-runtime": "^0.12.1",
|
||||
"vue-jest": "^3.0.7"
|
||||
},
|
||||
"engines": {
|
||||
|
|
|
@ -76,6 +76,7 @@
|
|||
"jest": "^27.3.1",
|
||||
"jest-environment-jsdom": "^27.3.1",
|
||||
"jest-serializer-vue": "^2.0.2",
|
||||
"regenerator-runtime": "^0.12.1",
|
||||
"vue-jest": "^3.0.7"
|
||||
},
|
||||
"jest": {
|
||||
|
@ -99,6 +100,7 @@
|
|||
"snapshotSerializers": [
|
||||
"<rootDir>/node_modules/jest-serializer-vue"
|
||||
],
|
||||
"globalSetup": "<rootDir>/src/tests/setup.js"
|
||||
"globalSetup": "<rootDir>/src/tests/setup.js",
|
||||
"setupFilesAfterEnv": ["<rootDir>/src/tests/setupAfterEnv.js"]
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче