aboutsummaryrefslogtreecommitdiff
path: root/jest.config.js
diff options
context:
space:
mode:
authorUri Shaked2020-07-16 22:25:32 +0300
committerUri Shaked2020-07-16 23:19:21 +0300
commit1ec47e14ad01779a60a132d1935988f0037da416 (patch)
tree9970f2e50e6aee58fd246ee2c1f2c375db9d0797 /jest.config.js
parentfix(demo): fix eslint warning (diff)
downloadavr8js-1ec47e14ad01779a60a132d1935988f0037da416.tar.gz
avr8js-1ec47e14ad01779a60a132d1935988f0037da416.tar.bz2
avr8js-1ec47e14ad01779a60a132d1935988f0037da416.zip
test: fix broken test on node 10.x
Diffstat (limited to '')
-rw-r--r--jest.config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jest.config.js b/jest.config.js
index e972c2d..1172605 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -1,6 +1,7 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
+ setupFiles: ['./jsdom-workaround.js'],
globals: {
'ts-jest': {
tsConfig: 'tsconfig.spec.json',