test: tolerate slower CI integration tests

This commit is contained in:
tianma-if committed 2026-09-05 23:24:55 +08:00
1 parent 09d10f78f8
commit 09b8b14668
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@
"packages/*"
],
"scripts": {
"test": "bun test --path-ignore-patterns='tests/e2e/**'",
"test": "bun test --timeout 15000 --path-ignore-patterns='tests/e2e/**'",
"dev": "bun run dev:local",
"dev:api": "bun run dev:api:local",
"dev:local": "bun scripts/local-dev.mjs start local",
+3 -1
View File
@@ -456,7 +456,9 @@ describe("Cloudflare deployment entrypoints", () => {
expect(workflow).not.toContain("force_redeploy:");
expect(workflow).toContain("bun run db:migrate:local");
expect(bunConfig).toContain('pathIgnorePatterns = ["tests/e2e/**"]');
expect(scripts.test).toBe("bun test --path-ignore-patterns='tests/e2e/**'");
expect(scripts.test).toBe(
"bun test --timeout 15000 --path-ignore-patterns='tests/e2e/**'",
);
expect(workflow).toContain("bun run test");
expect(workflow.match(/if: steps\.upstream\.outputs\.align_mode == 'merge'/g)).toHaveLength(2);
expect(workflow).toContain("git push origin HEAD:main");