Skip to content

Commit

Permalink
fixed unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
beatfactor committed Nov 25, 2016
1 parent 7802a2c commit b2457b1
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions test/src/runner/testRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,34 +30,6 @@ module.exports = {
});
runner.run();
},

'test detailed_output disabled and test failures': function (done) {
var testsPath = path.join(__dirname, '../../sampletests/withfailures');

var origConsoleLog = console.log; // need to test with output:true
console.log = function() {};

var runner = new Runner([testsPath], {
seleniumPort: 10195,
seleniumHost: '127.0.0.1',
silent: true,
output: true
}, {
output_folder : false,
start_session : true,
detailed_output : false
}, function(err, results) {
console.log = origConsoleLog;

assert.equal(results.passed, 1);
assert.equal(results.failed, 1);
done();
});

runner.run().catch(function(err) {
done(err);
});
},

testRunNoSrcFoldersArgument : function(done) {
var runner = new Runner(undefined, {}, {
Expand Down

0 comments on commit b2457b1

Please sign in to comment.