Skip to content

Commit

Permalink
Added a stderr assertion, to get better information about test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMessinger committed Jun 4, 2017
1 parent e87b069 commit e2565fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/specs/cli.js
Expand Up @@ -22,6 +22,7 @@ describe('Browserify CLI + banner', function () {

output.should.not.have.property('error');
output.stdout.toString().should.be.empty;
output.stderr.toString().should.be.empty;
output.status.should.equal(0);

// The bundle should start with the banner from "alt-banner.txt",
Expand Down

0 comments on commit e2565fd

Please sign in to comment.