Commit e116c5bb authored by Xavier Guimard's avatar Xavier Guimard

Update test timeout and use pkg-js-tools

Closes: #921794
parent c690b088
...@@ -2,6 +2,7 @@ Source: node-cross-spawn-async ...@@ -2,6 +2,7 @@ Source: node-cross-spawn-async
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Uploaders: Ross Gammon <rosco2@ubuntu.com> Uploaders: Ross Gammon <rosco2@ubuntu.com>
Section: javascript Section: javascript
Testsuite: autopkgtest-pkg-nodejs
Priority: optional Priority: optional
Build-Depends: debhelper (>= 11~), Build-Depends: debhelper (>= 11~),
dh-buildinfo, dh-buildinfo,
...@@ -11,7 +12,8 @@ Build-Depends: debhelper (>= 11~), ...@@ -11,7 +12,8 @@ Build-Depends: debhelper (>= 11~),
node-which, node-which,
node-expect.js, node-expect.js,
node-rimraf, node-rimraf,
node-lru-cache (>= 4.0~) node-lru-cache (>= 4.0~),
pkg-js-tools
Standards-Version: 4.3.0 Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/js-team/node-cross-spawn-async Vcs-Browser: https://salsa.debian.org/js-team/node-cross-spawn-async
Vcs-Git: https://salsa.debian.org/js-team/node-cross-spawn-async.git Vcs-Git: https://salsa.debian.org/js-team/node-cross-spawn-async.git
......
...@@ -5,9 +5,8 @@ ...@@ -5,9 +5,8 @@
#export DH_VERBOSE=1 #export DH_VERBOSE=1
%: %:
dh $@ dh $@ --with nodejs
override_dh_auto_test:
nodejs test/prepare && mocha -C -R spec test/test
override_dh_auto_clean:
dh_auto_clean
rm -v test/fixtures/\(\)%\!\^\&\;\,\ || true
Tests: require
Depends: node-cross-spawn-async
nodejs test/prepare && mocha -C -R spec --timeout 8000 test/test
#!/bin/sh
set -e
nodejs -e "require('cross-spawn-async');"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment