[Pkg-javascript-commits] [node-is-plain-object] 04/06: enable tests
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Thu Jan 11 07:09:29 UTC 2018
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository node-is-plain-object.
commit 4934068b2beba9cd208e5dd0a6775c9d99df7c41
Author: Pirate Praveen <praveen at debian.org>
Date: Thu Jan 11 12:21:58 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 1be8fc4..bd631b4 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,8 @@ Build-Depends:
debhelper (>= 9)
, dh-buildinfo
, nodejs
+ , mocha
+ , node-isobject (>= 1.0.0)
Standards-Version: 3.9.8
Homepage: https://github.com/jonschlinkert/is-plain-object
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-is-plain-object.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 efb47ac..325e6e1 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
Depends: node-is-plain-object
+
+Test-Command: mocha -R spec
+Depends: @, mocha
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-is-plain-object.git
More information about the Pkg-javascript-commits
mailing list