Skip to content

Commit b095a98

Browse files
test: fix
1 parent 1a097fb commit b095a98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/build/config-format/esm-require-await/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ describe("webpack cli", () => {
66

77
const [major, minor] = process.versions.node.split(".").map(Number);
88

9-
if ((major >= 22 && minor >= 11) || major >= 23) {
9+
if ((major >= 20 && minor >= 17) || major >= 22 || major >= 23) {
1010
expect(exitCode).toBe(0);
1111
// stderr contains - Support for loading ES Module in require() is an experimental feature and might change at any time
1212
// expect(stderr).toBeFalsy();

test/build/config-format/esm-require/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ describe("webpack cli", () => {
66

77
const [major, minor] = process.versions.node.split(".").map(Number);
88

9-
if ((major >= 22 && minor >= 11) || major >= 23) {
9+
if ((major >= 20 && minor >= 17) || major >= 22 || major >= 23) {
1010
expect(exitCode).toBe(0);
1111
// stderr contains - Support for loading ES Module in require() is an experimental feature and might change at any time
1212
// expect(stderr).toBeFalsy();

0 commit comments

Comments
 (0)