From 34e8f44946f95eba8a9fcc26b29c70794d915dc9 Mon Sep 17 00:00:00 2001 From: Nick Van Doorn Date: Sat, 6 Apr 2019 18:39:09 -0700 Subject: Use a hack to compile `use-sunlight` --- jest.config.js | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 jest.config.js 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' +} -- cgit v1.2.3