summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2019-04-06 18:39:09 -0700
committerNick Van Doorn <vandoorn.nick@gmail.com>2019-04-06 18:39:09 -0700
commit34e8f44946f95eba8a9fcc26b29c70794d915dc9 (patch)
tree02446805230cb31b2f7d1d144e11a1b0ce5c3760
parent7c2504e73d13eac31409c66592741b6b52208845 (diff)
Use a hack to compile `use-sunlight`
-rw-r--r--jest.config.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/jest.config.js b/jest.config.js
new file mode 100644
index 0000000..3084d9f
--- /dev/null
+++ b/jest.config.js
@@ -0,0 +1,4 @@
+module.exports = {
+ transformIgnorePatterns: ['/node_modules/(?!use-sunlight).+\\.js$'],
+ testEnvironment: 'jsdom'
+}