Skip to content

Commit 16da9f4

Browse files
committed
test: fix inspector HTTP handler call counts
1 parent dc4121d commit 16da9f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/parallel/test-inspector-network-http.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const handleRequest = common.mustCall((req, res) => {
116116
default:
117117
assert.fail(`Unexpected path: ${path}`);
118118
}
119-
}, 5);
119+
}, 7);
120120

121121
const httpServer = http.createServer(handleRequest);
122122

@@ -130,7 +130,7 @@ const terminate = () => {
130130
httpServer.close();
131131
httpsServer.close();
132132
inspector.close();
133-
}, 7);
133+
};
134134

135135
function findFrameInInitiator(scriptName, initiator) {
136136
const frame = initiator.stack.callFrames.find((it) => {

0 commit comments

Comments
 (0)