Skip to content

Commit f5e23e8

Browse files
committed
feat: review updates
1 parent e6aa3f6 commit f5e23e8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/IgnoreOrder.test.js renamed to test/ignoreOrder-option.test.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import path from 'path';
2+
23
import webpack from 'webpack';
34

45
describe('IgnoreOrder', () => {
@@ -17,7 +18,7 @@ describe('IgnoreOrder', () => {
1718
cache: false,
1819
});
1920
compiler.run((err1, stats) => {
20-
expect(stats.hasWarnings()).toBeTruthy();
21+
expect(stats.hasWarnings()).toBe(true);
2122
done();
2223
});
2324
});
@@ -37,7 +38,7 @@ describe('IgnoreOrder', () => {
3738
cache: false,
3839
});
3940
compiler.run((err1, stats) => {
40-
expect(stats.hasWarnings()).toBeFalsy();
41+
expect(stats.hasWarnings()).toBe(false);
4142
done();
4243
});
4344
});

0 commit comments

Comments
 (0)