Skip to content

Commit c6a5e0f

Browse files
committed
ci:fix
1 parent c736cd1 commit c6a5e0f

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

test/cli/cli.test.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ describe('CLI', () => {
3737
)
3838
.then((output) => {
3939
expect(output.exitCode).toEqual(0);
40-
expect(output.stderr).toContain(
41-
'webpack/runtime/hot module replacement'
42-
);
40+
expect(output.stderr).toContain('webpack/hot/dev-server.js');
4341
done();
4442
})
4543
.catch(done);
@@ -52,9 +50,7 @@ describe('CLI', () => {
5250
)
5351
.then((output) => {
5452
expect(output.exitCode).toEqual(0);
55-
expect(output.stderr).not.toContain(
56-
'webpack/runtime/hot module replacement'
57-
);
53+
expect(output.stderr).not.toContain('webpack/hot/dev-server.js');
5854
done();
5955
})
6056
.catch(done);

test/fixtures/cli/verbose-config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use strict';
22

33
module.exports = {
4-
stats: 'verbose',
4+
entry: './foo.js',
55
mode: 'development',
6+
stats: 'detailed',
67
};

0 commit comments

Comments
 (0)