aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKim Joar Bekkelund <kjbekkelund@gmail.com>2017-04-05 21:24:01 -0400
committerGitHub <noreply@github.com>2017-04-05 21:24:01 -0400
commit90be7e882f434eb65b5b3e4b66d99078579f9e7d (patch)
tree0f2435bc7c76cbc460c0c21b192d36b2069ba90c /scripts
parentc6da5f67d60a9ffd96788bacdeb9a6d11fe7c8e5 (diff)
Move Jest test setup to root (#10963)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/jest.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/jest.js b/scripts/jest.js
new file mode 100755
index 000000000..c59c88edb
--- /dev/null
+++ b/scripts/jest.js
@@ -0,0 +1,15 @@
+// # Run Jest tests
+//
+// All args will be forwarded directly to Jest, e.g. to watch tests run:
+//
+// node scripts/jest --watch
+//
+// or to build code coverage:
+//
+// node scripts/jest --coverage
+//
+// See all cli options in https://facebook.github.io/jest/docs/cli.html
+
+require('../src/optimize/babel/register');
+require('../src/jest/cli');
+