Ready to test

pull/2/head
Louis Chatriot 12 years ago
parent 15d206a499
commit 3628922a75
  1. 7
      Makefile
  2. 12
      test/db.test.js

@ -0,0 +1,7 @@
test:
@echo "Launching tests"
@ ./node_modules/.bin/mocha --timeout 2000 --reporter spec
@echo "Tests finished"
.PHONY: test

@ -0,0 +1,12 @@
var db = require('../lib/datastore')
, testDb = 'workspace/test.db'
;
describe('Database', function () {
it('Dummy', function (done) {
done();
});
});
Loading…
Cancel
Save