lint: fix biome issues in new test files and helpers
CI / check (push) Failing after 34s
CI / preflight (push) Skipped
CI / deploy (push) Skipped

This commit is contained in:
openhands committed 2026-09-21 18:19:39 +02:00
1 parent 99eb3af17b
commit 93862c2275
41 files changed
+488 -314

No files matched your search

+2 -1
View File
@@ -10,7 +10,8 @@ vi.mock("node:worker_threads", () => {
class FakeWorker {
private handlers: Record<string, Handler[]> = {};
on(event: string, handler: Handler) {
(this.handlers[event] ??= []).push(handler);
if (!this.handlers[event]) this.handlers[event] = [];
this.handlers[event].push(handler);
return this;
}
emit(event: string, ...args: unknown[]) {