Commit 68d767dc authored by Bastien Roucariès's avatar Bastien Roucariès

Try to run testsuite

parent 3b4b21fc
......@@ -7,7 +7,8 @@ Index: node-babel-preset-env/.babelrc
===================================================================
--- /dev/null
+++ node-babel-preset-env/.babelrc
@@ -0,0 +1,3 @@
@@ -0,0 +1,4 @@
+{
+ "presets": ["es2015-loose"]
+ "presets": ["es2015-loose"],
+ "ignore": ["node_modules"]
+}
# 00-babelrc.patch
00-babelrc.patch
......@@ -12,8 +12,10 @@ override_dh_auto_build:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
override_dh_auto_test:
mkdir -p node_modules
ln -s .. node_modules/babel-preset-env
mkdir -p node_modules/babel-preset-env
cp package.json node_modules/babel-preset-env
cp -r lib node_modules/babel-preset-env
cp -r data node_modules/babel-preset-env
mocha ./test --compilers js:babel-register -t 10000
else
override_dh_auto_test:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment