Add jest-canvas-mock

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-05-15 00:25:19 +01:00
parent 5844bee8f2
commit 59f1657b43

View file

@ -138,6 +138,7 @@
"flow-parser": "^0.57.3", "flow-parser": "^0.57.3",
"glob": "^5.0.14", "glob": "^5.0.14",
"jest": "^24.9.0", "jest": "^24.9.0",
"jest-canvas-mock": "^2.2.0",
"lolex": "^5.1.2", "lolex": "^5.1.2",
"matrix-mock-request": "^1.2.3", "matrix-mock-request": "^1.2.3",
"matrix-react-test-utils": "^0.2.2", "matrix-react-test-utils": "^0.2.2",
@ -157,6 +158,7 @@
"testMatch": [ "testMatch": [
"<rootDir>/test/**/*-test.js" "<rootDir>/test/**/*-test.js"
], ],
"setupFiles": ["jest-canvas-mock"],
"setupFilesAfterEnv": [ "setupFilesAfterEnv": [
"<rootDir>/test/setupTests.js" "<rootDir>/test/setupTests.js"
], ],