summaryrefslogtreecommitdiff
path: root/jest.config.js
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-11-05 09:21:54 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-11-05 09:21:54 +0000
commita92d6b36c2d2892e8c070efb169f0c06815900ee (patch)
treee7119c41b0e0d0eb0cff50b19fbb2bb34315f5a4 /jest.config.js
parent39a48637e52c4afc58341edfb10167947d961b33 (diff)
downloadgitlab-ce-a92d6b36c2d2892e8c070efb169f0c06815900ee.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'jest.config.js')
-rw-r--r--jest.config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jest.config.js b/jest.config.js
index f5e589934e6..3f9dc3fe213 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -60,7 +60,7 @@ module.exports = {
cacheDirectory: '<rootDir>/tmp/cache/jest',
modulePathIgnorePatterns: ['<rootDir>/.yarn-cache/'],
reporters,
- setupFilesAfterEnv: ['<rootDir>/spec/frontend/test_setup.js'],
+ setupFilesAfterEnv: ['<rootDir>/spec/frontend/test_setup.js', 'jest-canvas-mock'],
restoreMocks: true,
transform: {
'^.+\\.(gql|graphql)$': 'jest-transform-graphql',