Commit 5045484c authored by Xavier Guimard's avatar Xavier Guimard

Fix autopkgtest

parent 4778338e
......@@ -4,7 +4,7 @@ node-mime-types (2.1.21-1) unstable; urgency=medium
* New upstream version 2.1.21
* Update URL in d/copyright
* Shift node-mocha to mocha
* Update upstream test in autopkgtest
* Replace autopkgtest files to test installed files
* Add d/upstream/metadata
* Update copyright
* Bump Standards-Version to 4.3.0 (no changes needed)
......
Tests: require
Depends: node-mime-types
Test-Command: mocha -C --reporter spec --bail --check-leaks node_modules/mime-db/test/
Depends: @, mocha
Restrictions: build-needed
Test-Command: mocha -C --reporter spec test/test.js
Depends: @, mocha
Tests: upstream
Depends: @, @builddeps@
\ No newline at end of file
Depends: @, @builddeps@
......@@ -10,4 +10,5 @@ cd $TDIR
ln -s /usr/lib/nodejs/mime-types/package.json
ln -s /usr/lib/nodejs/mime-types/index.js
ln -s /usr/lib/nodejs/mime-types/node_modules
node test
mocha -C --reporter spec test/test.js
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