Commit 7db49066 authored by Xavier Guimard's avatar Xavier Guimard

Switch tests to pkg-js-tools

parent 025d70e0
......@@ -3,6 +3,7 @@ Section: javascript
Priority: optional
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Uploaders: Ximin Luo <infinity0@debian.org>, Jérémy Lal <kapouer@melix.org>
Testsuite: autopkgtest-pkg-nodejs
Build-Depends:
debhelper (>= 10~),
dh-buildinfo,
......@@ -15,7 +16,8 @@ Build-Depends:
node-nan (>= 2.0.5),
node-gyp (>= 3.8.0-2),
node-should,
node-tinycolor
node-tinycolor,
pkg-js-tools
Standards-Version: 4.3.0
Homepage: https://github.com/websockets/ws
Vcs-Browser: https://salsa.debian.org/js-team/node-ws
......
......@@ -9,7 +9,7 @@ export OPENSSL_CONF=/usr/include/nodejs/openssl.cnf
export NODE_TLS_REJECT_UNAUTHORIZED=0
%:
dh $@
dh $@ --with nodejs
override_dh_auto_build:
node-gyp configure build
......
Test-Command: node -e "require('ws');"
Depends: @
make test MOCHA=/usr/bin/mocha
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