Permalink
Browse files

drop test db after completion

  • Loading branch information...
1 parent 208bde6 commit bcdd03360b1690be1dc9948c2a26d696a78b27c8 @aheckmann aheckmann committed Nov 19, 2011
Showing with 6 additions and 0 deletions.
  1. +1 −0 Makefile
  2. +5 −0 test/dropdb.js
View
@@ -5,6 +5,7 @@ test:
@NODE_ENV=test ./support/expresso/bin/expresso \
$(TESTFLAGS) \
$(TESTS)
+ @node test/dropdb.js
test-cov:
@TESTFLAGS=--cov $(MAKE) test
View
@@ -0,0 +1,5 @@
+var start = require('./common')
+var db = start();
+db.db.dropDatabase(function () {
+ process.exit();
+});

0 comments on commit bcdd033

Please sign in to comment.