Source: node-iferr Version: 0.1.5-1 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/patches/compilers-deprecation.patch +++ b/debian/patches/compilers-deprecation.patch @@ -0,0 +1,11 @@ +Description: Update tests for --compilers deprecation + See: https://github.com/mochajs/mocha/wiki/compilers-deprecation +Author: Graham Inggs <gin...@debian.org> +Last-Update: 2018-03-28 + +--- a/test/mocha.opts ++++ b/test/mocha.opts +@@ -1,2 +1,2 @@ +---compilers coffee:coffee-script/register ++--require coffee-script/register + --reporter spec --- a/debian/patches/series +++ b/debian/patches/series @@ -0,0 +1 @@ +compilers-deprecation.patch --- a/debian/rules +++ b/debian/rules @@ -10,4 +10,4 @@ #override_dh_auto_build: override_dh_auto_test: - mocha -R spec + mocha -R spec "test/*.coffee" --- a/debian/tests/control +++ b/debian/tests/control @@ -1,5 +1,5 @@ Tests: require Depends: node-iferr -Test-Command: mocha -R spec +Test-Command: mocha -R spec "test/*.coffee" Depends: @, mocha, coffeescript
-- Pkg-javascript-devel mailing list Pkg-javascript-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel