[Pkg-javascript-commits] [node-emoji] 01/01: enable tests
Paolo Greppi
paolog-guest at moszumanska.debian.org
Sat Dec 3 00:33:44 UTC 2016
This is an automated email from the git hooks/post-receive script.
paolog-guest pushed a commit to branch master
in repository node-emoji.
commit fc2929d61a7e0d095073f4709dc85a4aa214a6b7
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date: Sat Dec 3 00:33:22 2016 +0000
enable tests
---
debian/control | 3 +++
debian/rules | 6 ++----
debian/tests/control | 3 +++
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/debian/control b/debian/control
index 7f9ed65..fc33262 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,9 @@ Uploaders: Paolo Greppi <paolo.greppi at libpf.com>
Build-Depends:
debhelper (>= 9)
, dh-buildinfo
+ , mocha
+ , node-should
+ , node-string.prototype.codepointat
, nodejs
Standards-Version: 3.9.8
Homepage: https://github.com/omnidan/node-emoji#readme
diff --git a/debian/rules b/debian/rules
index de57af0..efe3fdb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,5 @@
#override_dh_auto_build:
-#override_dh_auto_test:
-
-
-
+override_dh_auto_test:
+ mocha --require should --bail --reporter spec test/*
diff --git a/debian/tests/control b/debian/tests/control
index 10f9646..c33f25a 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
Depends: node-emoji
+
+Test-Command: mocha --require should --bail --reporter spec test/*
+Depends: @, @builddeps@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-emoji.git
More information about the Pkg-javascript-commits
mailing list