[Pkg-javascript-commits] [node-object-visit] 04/05: enable tests
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Thu Jan 11 11:21:19 UTC 2018
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository node-object-visit.
commit 17cea1ada23e3bc045300f081a480c26f130b28f
Author: Pirate Praveen <praveen at debian.org>
Date: Thu Jan 11 16:23:49 2018 +0530
enable tests
---
debian/control | 2 ++
debian/rules | 4 ++--
debian/tests/control | 3 +++
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 497385e..cb3234f 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,8 @@ Build-Depends:
debhelper (>= 9)
, dh-buildinfo
, nodejs
+ , mocha
+ , node-isobject (>= 2.0.0)
Standards-Version: 4.1.3
Homepage: https://github.com/jonschlinkert/object-visit
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-object-visit.git
diff --git a/debian/rules b/debian/rules
index de57af0..9eb6b18 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@
#override_dh_auto_build:
-#override_dh_auto_test:
-
+override_dh_auto_test:
+ mocha -R spec
diff --git a/debian/tests/control b/debian/tests/control
index 33a286e..a84c97f 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
Depends: node-object-visit
+
+Test-Command: mocha -R spec
+Depends: @, mocha
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-object-visit.git
More information about the Pkg-javascript-commits
mailing list