[Pkg-javascript-commits] [node-negotiator] 07/09: switch to mocha
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Mon Sep 4 16:36:23 UTC 2017
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository node-negotiator.
commit eb64b0ece1841763d4d6fa6fd11149b005863baa
Author: Pirate Praveen <praveen at debian.org>
Date: Mon Sep 4 21:55:35 2017 +0530
switch to mocha
---
debian/control | 2 +-
debian/rules | 2 +-
debian/tests/control | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/debian/control b/debian/control
index 6179884..b22f265 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Build-Depends:
debhelper (>= 9~)
, dh-buildinfo
, nodejs
- , nodeunit
+ , mocha
Standards-Version: 4.1.0
Homepage: https://github.com/federomero/negotiator
XS-Testsuite: autopkgtest
diff --git a/debian/rules b/debian/rules
index 68dbac8..fc43acb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,4 +8,4 @@
dh $@
override_dh_auto_test:
- nodeunit test
+ mocha --reporter spec --check-leaks --bail test/
diff --git a/debian/tests/control b/debian/tests/control
index 0eaa997..ba6e0ae 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,5 +1,5 @@
Tests: require
Depends: node-negotiator
-Test-Command: nodeunit test
-Depends: @, nodeunit
+Test-Command: mocha --reporter spec --check-leaks --bail test/
+Depends: @, mocha
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-negotiator.git
More information about the Pkg-javascript-commits
mailing list