summaryrefslogtreecommitdiff
path: root/jest.config.js
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-03-21 18:04:33 +0100
committerWinnie Hellmann <winnie@gitlab.com>2019-03-21 18:04:33 +0100
commit939140c33edc016955019ba0c65edb90fd87d897 (patch)
tree696082ba468c3ef17c684205b21bbfd3b57bd835 /jest.config.js
parent202e9ae88bfcdc392f396a9aeb08936bf2f50c0e (diff)
downloadgitlab-ce-939140c33edc016955019ba0c65edb90fd87d897.tar.gz
Mock timers in Jest
Diffstat (limited to 'jest.config.js')
-rw-r--r--jest.config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jest.config.js b/jest.config.js
index efbf2e602c1..1f6e04390ae 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -36,4 +36,5 @@ module.exports = {
'^.+\\.vue$': 'vue-jest',
},
transformIgnorePatterns: ['node_modules/(?!(@gitlab/ui)/)'],
+ timers: 'fake',
};