summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/test/fileMock.js1
-rw-r--r--scripts/test/setupTests.js5
-rw-r--r--scripts/test/styleMock.js1
3 files changed, 7 insertions, 0 deletions
diff --git a/scripts/test/fileMock.js b/scripts/test/fileMock.js
new file mode 100644
index 0000000..86059f3
--- /dev/null
+++ b/scripts/test/fileMock.js
@@ -0,0 +1 @@
+module.exports = 'test-file-stub';
diff --git a/scripts/test/setupTests.js b/scripts/test/setupTests.js
new file mode 100644
index 0000000..7237dc9
--- /dev/null
+++ b/scripts/test/setupTests.js
@@ -0,0 +1,5 @@
+import { configure } from 'enzyme';
+import Adapter from 'enzyme-adapter-react-15';
+import 'jest-enzyme';
+
+configure({ adapter: new Adapter() });
diff --git a/scripts/test/styleMock.js b/scripts/test/styleMock.js
new file mode 100644
index 0000000..f053ebf
--- /dev/null
+++ b/scripts/test/styleMock.js
@@ -0,0 +1 @@
+module.exports = {};