Skip to content

Chrome DevTools for coding agents

test: try things to reduce flakiness (#1879)

Alex Rudenkoe102a43bab90
diff --git a/scripts/test.mjs b/scripts/test.mjs
index 3c4d334e..004d344b 100644
--- a/scripts/test.mjs
+++ b/scripts/test.mjs
@@ -72,7 +72,7 @@ const nodeArgs = [
'--test-force-exit',
'--test-concurrency=1',
'--test',
- '--test-timeout=60000',
+ '--test-timeout=120000',
...flags,
...files,
];
diff --git a/tests/server.ts b/tests/server.ts
index 7278861a..77369ce6 100644
--- a/tests/server.ts
+++ b/tests/server.ts
@@ -95,6 +95,7 @@ export class TestServer {
stop(): Promise<void> {
return new Promise((res, rej) => {
+ this.#server.closeAllConnections();
this.#server.close(err => {
if (err) {
rej(err);