Commit f737e967 by Konstantin Käfer

make sure to create the tmp directory before testing and remove the listener warning in node v0.4

parent a4cdfdd2
......@@ -13,9 +13,11 @@ db:
ifndef only
test: build db
@rm -rf ./test/tmp && mkdir -p ./test/tmp
@expresso -I lib test/*.test.js
else
test: build db
@rm -rf ./test/tmp && mkdir -p ./test/tmp
@expresso -I lib test/${only}.test.js
endif
......
......@@ -2,6 +2,8 @@ var sqlite3 = require('sqlite3');
var assert = require('assert');
var Step = require('step');
if (process.setMaxListeners) process.setMaxListeners(0);
exports['test simple prepared statement with invalid SQL'] = function(beforeExit) {
var error = false;
var db = new sqlite3.Database(':memory:');
......
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