[Pkg-javascript-commits] [node-classnames] 01/01: Fixed mocha autopkgtest.

Daniel Ring techwolf-guest at moszumanska.debian.org
Sun Dec 17 07:49:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

techwolf-guest pushed a commit to branch master
in repository node-classnames.

commit f55305fbfcf5c2c702b6f62f3eed4cb26101442a
Author: Daniel Ring <dring at wolfishly.me>
Date:   Sat Dec 16 23:45:56 2017 -0800

    Fixed mocha autopkgtest.
---
 debian/tests/mocha | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/tests/mocha b/debian/tests/mocha
index 4cc8ce8..8835612 100644
--- a/debian/tests/mocha
+++ b/debian/tests/mocha
@@ -1,3 +1,6 @@
 #!/bin/sh
 set -e
-mocha tests/*.js
+for TEST in bind dedupe index; do
+	sed "s/require('\.\./require('classnames/g" tests/$TEST.js > $TEST.js
+done
+mocha bind.js dedupe.js index.js

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-classnames.git



More information about the Pkg-javascript-commits mailing list