Skip to content

Commit

Permalink
test: enable --hot-only test case (#3018)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Feb 16, 2021
1 parent 06b3d91 commit 4b48017
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/cli/cli.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,9 @@ describe('CLI', () => {
.catch(done);
});

// TODO: do not skip after the major version is bumped
// https://github.com/webpack/webpack-cli/commit/7c5a2bae49625ee4982d7478b7e741968731cea2
it.skip('--hot-only', (done) => {
testBin('--hot-only')
it('--hot-only', (done) => {
// need detailed stats to check for 'only-dev-server.js'
testBin('--hot-only --stats detailed')
.then((output) => {
expect(output.exitCode).toEqual(0);
expect(output.stderr).toContain('/hot/only-dev-server');
Expand Down

0 comments on commit 4b48017

Please sign in to comment.