Skip to content

Commit

Permalink
Fixed broken builds ✅
Browse files Browse the repository at this point in the history
  • Loading branch information
kunagpal committed Aug 6, 2018
1 parent 2d14ae5 commit 5686687
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/unit/cli.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ describe('cli parser', function () {
newmanCLI = require('../../bin/newman');
});

// delete require cache to use program instance for consecutive runs.
beforeEach(function () {
delete require.cache[require.resolve('../../bin/newman')];
newmanCLI = require('../../bin/newman');
});

it('should throw an error if no argument is provided', function (done) {
cli('node newman.js'.split(' '), null, function (err) {
expect(err).to.have.property('message', 'no arguments provided');
Expand Down

0 comments on commit 5686687

Please sign in to comment.