diff --git a/package-lock.json b/package-lock.json index 0f6b1ff94..fc2443b69 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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": { diff --git a/package.json b/package.json index aa1f4d435..fd2969b02 100644 --- a/package.json +++ b/package.json @@ -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": [ "/node_modules/jest-serializer-vue" ], - "globalSetup": "/src/tests/setup.js" + "globalSetup": "/src/tests/setup.js", + "setupFilesAfterEnv": ["/src/tests/setupAfterEnv.js"] } }