From 3628922a75e4a7acb28ccd6d9f365cf764ea01cb Mon Sep 17 00:00:00 2001 From: Louis Chatriot Date: Thu, 2 May 2013 10:19:29 +0200 Subject: [PATCH] Ready to test --- Makefile | 7 +++++++ test/db.test.js | 12 ++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 Makefile create mode 100644 test/db.test.js diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a9bf486 --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +test: + @echo "Launching tests" + @ ./node_modules/.bin/mocha --timeout 2000 --reporter spec + @echo "Tests finished" + +.PHONY: test + diff --git a/test/db.test.js b/test/db.test.js new file mode 100644 index 0000000..cf4631d --- /dev/null +++ b/test/db.test.js @@ -0,0 +1,12 @@ +var db = require('../lib/datastore') + , testDb = 'workspace/test.db' + ; + + +describe('Database', function () { + + it('Dummy', function (done) { + done(); + }); + +});