fix tests
See https://github.com/jsdom/jsdom/issues/1782 https://github.com/grafana/grafana/issues/20921
This commit is contained in:
@@ -24,6 +24,7 @@ module.exports = {
|
||||
},
|
||||
"coverageDirectory": "<rootDir>/tmp/coverage/node/",
|
||||
"collectCoverage": false,
|
||||
"testEnvironment": "jest-environment-jsdom-fifteen",
|
||||
"globals": {
|
||||
"ts-jest": {
|
||||
"tsConfig": "tsconfig.test.json"
|
||||
|
||||
12
package.json
12
package.json
@@ -30,10 +30,10 @@
|
||||
"@babel/preset-env": "^7.8.3",
|
||||
"@babel/preset-react": "^7.8.3",
|
||||
"@emotion/core": "^10.0.27",
|
||||
"@grafana/data": "^6.5.3",
|
||||
"@grafana/runtime": "^6.5.3",
|
||||
"@grafana/toolkit": "^6.5.3",
|
||||
"@grafana/ui": "^6.5.3",
|
||||
"@grafana/data": "canary",
|
||||
"@grafana/runtime": "canary",
|
||||
"@grafana/toolkit": "canary",
|
||||
"@grafana/ui": "canary",
|
||||
"@types/classnames": "^2.2.9",
|
||||
"@types/grafana": "github:CorpGlory/types-grafana",
|
||||
"@types/jest": "^23.1.1",
|
||||
@@ -49,6 +49,7 @@
|
||||
"babel-plugin-transform-class-properties": "^6.24.1",
|
||||
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
||||
"benchmark": "^2.1.4",
|
||||
"canvas": "2.6.1",
|
||||
"classnames": "^2.2.6",
|
||||
"clean-webpack-plugin": "^0.1.19",
|
||||
"codecov": "^3.1.0",
|
||||
@@ -61,8 +62,9 @@
|
||||
"grunt-execute": "^0.2.2",
|
||||
"html-loader": "^0.5.5",
|
||||
"jest": "^24.9.0",
|
||||
"jest-environment-jsdom-fifteen": "^1.0.2",
|
||||
"jscs": "^3.0.7",
|
||||
"jsdom": "~11.3.0",
|
||||
"jsdom": "15.2.1",
|
||||
"jshint": "^2.9.6",
|
||||
"jshint-stylish": "^2.1.0",
|
||||
"load-grunt-tasks": "~3.2.0",
|
||||
|
||||
Reference in New Issue
Block a user