blob: bb14220dea86d2ffea644ffe84dc60baa7cfb2a0 [file] [log] [blame]
var assert = require('assert'),
path = require('path'),
spawn = require('child_process').spawn;
describe('bin/license-checker', function() {
this.timeout(8000);
it('should exit 0', function(done) {
spawn('node', [path.join(__dirname, '../bin/license-checker')], {
cwd: path.join(__dirname, '../'),
stdio: 'ignore'
}).on('exit', function(code) {
assert.equal(code, 0);
done();
});
});
});