Skip to content

Commit

Permalink
chore: rm logs
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Jun 9, 2020
1 parent ec338bf commit 5a74566
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/webpack-cli/lib/groups/BasicGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ class BasicGroup extends GroupHelper {

run() {
this.resolveFlags();
console.log(this);
return this.opts;
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/entry/flag-entry/entry-with-flag.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('entry flag', () => {

it('should throw error for invalid entry file', () => {
const { stderr, stdout } = run(__dirname, ['--entry', './src/test.js']);
expect(stderr).toBeFalsy();
expect(stderr).toBeTruthy();
expect(stdout).toContain('Error: you provided an invalid entry point.');
});
});
3 changes: 1 addition & 2 deletions test/entry/multiple-entries/multi-entries.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { resolve } = require('path');

describe(' multiple entries', () => {
it('should allow multiple entry files', (done) => {
const { stderr, stdout } = run(__dirname, ['./src/a.js', './src/b.js', './src/c.js']);
const { stderr, stdout } = run(__dirname, ['./src/a.js', './src/b.js']);
expect(stderr).toBeFalsy();
expect(stdout).toBeTruthy();

Expand All @@ -19,7 +19,6 @@ describe(' multiple entries', () => {
expect(err).toBe(null);
expect(data).toContain('Hello from a.js');
expect(data).toContain('Hello from b.js');
expect(data).toContain('Hello from c.js');
done();
});
});
Expand Down

0 comments on commit 5a74566

Please sign in to comment.