Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

test: keep the full suite from hanging on local build trees

tianma-if732f8796c223
diff --git a/apps/desktop/src/backup/worker-integration.test.mjs b/apps/desktop/src/backup/worker-integration.test.mjs
index 12880429..2a3d7751 100644
--- a/apps/desktop/src/backup/worker-integration.test.mjs
+++ b/apps/desktop/src/backup/worker-integration.test.mjs
@@ -80,7 +80,8 @@ test("failed workers cancel unfinished sibling requests and exit", async () => {
await promptsStarted;
return Response.json({ error: { code: "fixture_read_failed", message: "Source read failed" } }, { status: 500 });
} });
- cleanups.push(() => server.stop(true));
+ // stop() resolves only after active requests finish. This fixture never responds.
+ cleanups.push(() => { server.stop(true); });
const job = await launch({ operation: "export", context: { baseUrl: `http://127.0.0.1:${server.port}`, accountId: null, token: "" }, path: join(await directory(), "pending.zip.part"), version: { edgeeverVersion: "2.2.0", buildId: "failure" } });
await expect(job.next("done")).rejects.toMatchObject({ code: "fixture_read_failed" });
let timer;
diff --git a/bunfig.toml b/bunfig.toml
index f04181df..a9e6eae1 100644
--- a/bunfig.toml
+++ b/bunfig.toml
@@ -1,2 +1,8 @@
[test]
-pathIgnorePatterns = ["tests/e2e/**"]
+pathIgnorePatterns = [
+ "tests/e2e/**",
+ # Local build trees. Bun keeps a file descriptor for every scanned file, and
+ # macOS subprocess pipes stop delivering output once that count passes 10k.
+ "apps/ios/build/**",
+ "apps/mobile/ios/**",
+]