aboutsummaryrefslogtreecommitdiff
path: root/test/manual/profile-concurrency-test.ts
diff options
context:
space:
mode:
authoramankumarsingh77 <amankumarsingh7702@gmail.com>2026-07-28 20:34:49 +0530
committerAman Kumar <145339995+amankumarsingh77@users.noreply.github.com>2026-08-02 19:12:46 +0530
commita9bdbd8590801cd9c2fa0cda6203948ac19a779c (patch)
tree060ced4709815f9415fc1172842ed25d97de545f /test/manual/profile-concurrency-test.ts
parent34e5cfdcbe29bbb5f2f46ba54eb67903abd9274d (diff)
refactor: tidy the whitespace the comment removal left behind
Drops leading blank lines where a file header was removed, collapses double blank lines, and closes the empty catch/handler blocks whose only content had been a comment. Whitespace only. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'test/manual/profile-concurrency-test.ts')
-rw-r--r--test/manual/profile-concurrency-test.ts12
1 files changed, 4 insertions, 8 deletions
diff --git a/test/manual/profile-concurrency-test.ts b/test/manual/profile-concurrency-test.ts
index 05e06bc..1a5771d 100644
--- a/test/manual/profile-concurrency-test.ts
+++ b/test/manual/profile-concurrency-test.ts
@@ -44,8 +44,7 @@ const killTree = (pid: number | undefined): void => {
if (process.platform === "win32") {
try {
execFileSync("taskkill.exe", ["/pid", String(pid), "/T", "/F"], { stdio: "ignore" });
- } catch {
- }
+ } catch {}
return;
}
try {
@@ -53,8 +52,7 @@ const killTree = (pid: number | undefined): void => {
} catch {
try {
process.kill(pid, "SIGKILL");
- } catch {
- }
+ } catch {}
}
};
@@ -81,8 +79,7 @@ async function scenario(exePath: string, label: string, pinned: boolean): Promis
try {
const res = await fetch(`http://127.0.0.1:${PORT}/json/version`);
if (res.ok) endpoint = ((await res.json()) as { webSocketDebuggerUrl: string }).webSocketDebuggerUrl;
- } catch {
- }
+ } catch {}
}
if (!endpoint) {
check(false, `${label}: browser exposed its DevTools endpoint`);
@@ -144,8 +141,7 @@ async function scenario(exePath: string, label: string, pinned: boolean): Promis
killTree(browser.pid);
try {
rmSync(udd, { recursive: true, force: true, maxRetries: 5, retryDelay: 200 });
- } catch {
- }
+ } catch {}
}
}