UNPKG

antfarm

Version:

File automation framework for ants.

27 lines (20 loc) 588 B
var should = require('chai').should(); var Antfarm = require('./../../lib/antfarm'); describe('Logger', function() { var af; beforeEach(function() { }); describe('Options', function() { it('should be able to log to console without a log file', function(done) { try { af = new Antfarm({ log_out_level: "error" }); done(); } catch (error) { should.fail('Error constructing empty antfarm'); done(); } }); }); });