Skip to content

Commit 4b48017

Browse files
authored
test: enable --hot-only test case (#3018)
1 parent 06b3d91 commit 4b48017

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/cli/cli.test.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,9 @@ describe('CLI', () => {
5151
.catch(done);
5252
});
5353

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

0 commit comments

Comments
 (0)