Commit 5c0b1ab3 authored by Xavier Guimard's avatar Xavier Guimard

Improve tests

TODO: embed require_optional
parent 187f4597
set -e
TDIR=$(mktemp -d $TEMP/smokeXXXXXX)
cp -a test $TDIR
cd $TDIR
ln -s /usr/lib/nodejs/bson/index.js .
ln -s /usr/lib/nodejs/bson/lib .
mocha ./test/node
Tests: require Tests: require
Depends: node-mongodb Depends: node-mongodb
Tests: bson
Depends: node-mongodb, chai, mocha
#!/bin/sh #!/bin/sh
set -e set -e
nodejs -e "require('bson');"
nodejs -e "require('mongodb');" nodejs -e "require('mongodb');"
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