[Pkg-javascript-commits] [node-unset-value] 04/06: Enable tests
Sruthi Chandran
srud-guest at moszumanska.debian.org
Thu Oct 27 14:26:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
srud-guest pushed a commit to branch master
in repository node-unset-value.
commit ddf555d3505cf09fca3a2cddfcc7886aa8d3a216
Author: Sruthi <srud at disroot.org>
Date: Thu Oct 27 19:41:00 2016 +0530
Enable tests
---
debian/control | 3 +++
debian/rules | 4 ++--
debian/tests/control | 3 +++
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 3b50e0b..c62e056 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,9 @@ Build-Depends:
debhelper (>= 9)
, dh-buildinfo
, nodejs
+ , mocha
+ , node-isobject (>= 2.0.0)
+ , node-has-value (>= 0.2.1)
Standards-Version: 3.9.8
Homepage: https://github.com/jonschlinkert/unset-value
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-unset-value.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 9e55b34..34675bc 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
Depends: node-unset-value
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-unset-value.git
More information about the Pkg-javascript-commits
mailing list