Skip to content

Commit ac27461

Browse files
committed
Fix --expose-gc flag inheritance for --test in node 24+
1 parent 134f74a commit ac27461

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
"output": []
204204
},
205205
"test:codeactions": {
206-
"command": "node --test --test-reporter=spec lib/test/codeactions.test.js",
206+
"command": "node --test --test-reporter=dot lib/test/codeactions.test.js",
207207
"env": {
208208
"NODE_OPTIONS": "--enable-source-maps"
209209
},
@@ -236,7 +236,7 @@
236236
"output": []
237237
},
238238
"test:diagnostic": {
239-
"command": "node --test --test-reporter=spec lib/test/diagnostic.test.js",
239+
"command": "node --test --test-reporter=dot lib/test/diagnostic.test.js",
240240
"env": {
241241
"NODE_OPTIONS": "--enable-source-maps"
242242
},
@@ -291,7 +291,7 @@
291291
"output": []
292292
},
293293
"test:gc": {
294-
"command": "node --test --test-reporter=spec --expose-gc lib/test/gc.test.js",
294+
"command": "node --expose-gc lib/test/gc.test.js",
295295
"env": {
296296
"NODE_OPTIONS": "--enable-source-maps"
297297
},

0 commit comments

Comments
 (0)