Source: node-simple-swizzle
Version: 0.2.2-2
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu bionic autopkgtest

Hi Maintainer

The --compilers option was deprecated [1] in recent versions of mocha.
This causes your package's autopkgtests to fail.
I have fixed this in the attached patch.

Regards
Graham


[1] https://github.com/mochajs/mocha/wiki/compilers-deprecation
--- a/debian/rules
+++ b/debian/rules
@@ -10,4 +10,4 @@
 #override_dh_auto_build:
 
 override_dh_auto_test:
-	mocha --compilers coffee:coffee-script/register -R spec
+	mocha --require coffee-script/register -R spec "test/*.coffee"
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,5 +1,5 @@
 Tests: require
 Depends: node-simple-swizzle
 
-Test-Command: mocha --compilers coffee:coffee-script/register -R spec
+Test-Command: mocha --require coffee-script/register -R spec "test/*.coffee"
 Depends: @, mocha, coffeescript, node-should, node-is-arrayish
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to