node-postgres/test-units.js
2010-10-10 18:50:05 -05:00

7 lines
204 B
JavaScript

//executes all the unit tests
var fs = require('fs');
var files = fs.readdirSync(__dirname + '/test/unit');
files.forEach(function(file){
require(__dirname + '/test/unit/' + file.split('.js') [0]);
});