Switch to mocha testing in travis
This commit is contained in:
parent
716318bedd
commit
e91b0d6c49
|
@ -51,7 +51,7 @@
|
|||
},
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "nodeunit test/*_test*"
|
||||
"test": "make test"
|
||||
},
|
||||
"engines": [
|
||||
"node >= 0.6"
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
var jugglingdb = require('../');
|
||||
|
||||
describe('jugglingdb', function() {
|
||||
it('should expose version', function () {
|
||||
jugglingdb.version.should.equal(require('../package.json').version);
|
||||
});
|
||||
});
|
|
@ -1,8 +0,0 @@
|
|||
var juggling = require('../index');
|
||||
require('./spec_helper').init(module.exports);
|
||||
|
||||
it('should expose version', function (test) {
|
||||
console.log('version:', juggling.version);
|
||||
test.ok(juggling.version);
|
||||
test.done();
|
||||
});
|
Loading…
Reference in New Issue