Skip to content

Commit f8cc3b7

Browse files
committed
test: declare inspector dependency
Add --inspect=0 to the new network-inspection tests so the test runner recognizes their Inspector dependency. Builds without Inspector must omit these flags before the tests can skip unsupported functionality. Keep the regression assertions unchanged. Assisted-by: Codex Signed-off-by: GrinZero <774933704@qq.com>
1 parent f84e2fa commit f8cc3b7

4 files changed

Lines changed: 4 additions & 4 deletions

β€Žtest/parallel/test-inspector-network-http-body-buffer-mutation.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --experimental-network-inspection
1+
// Flags: --inspect=0 --experimental-network-inspection
22
'use strict';
33
const common = require('../common');
44
common.skipIfInspectorDisabled();

β€Žtest/parallel/test-inspector-network-http-initiator-async.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --experimental-network-inspection
1+
// Flags: --inspect=0 --experimental-network-inspection
22
'use strict';
33
const common = require('../common');
44
common.skipIfInspectorDisabled();

β€Žtest/parallel/test-inspector-network-http-initiator-delayed.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --experimental-network-inspection
1+
// Flags: --inspect=0 --experimental-network-inspection
22
'use strict';
33
const common = require('../common');
44
common.skipIfInspectorDisabled();

β€Žtest/parallel/test-inspector-network-initiator-serialization.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --experimental-network-inspection
1+
// Flags: --inspect=0 --experimental-network-inspection
22
'use strict';
33
const common = require('../common');
44
common.skipIfInspectorDisabled();

0 commit comments

Comments
Β (0)