Skip to content

Commit

Permalink
tests: better verbose test
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed May 20, 2020
1 parent c624903 commit 6ef43b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/verbose/verbose-flag.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ describe('verbose flag', () => {
it('should accept --verbose', () => {
const { stderr, stdout } = run(__dirname, ['--verbose']);
expect(stderr).toBeFalsy();
expect(stdout).toBeTruthy();
expect(stdout).toContain('single entry');
expect(stdout).toContain('LOG from webpack.buildChunkGraph.visitModules');
});
});

0 comments on commit 6ef43b0

Please sign in to comment.