test: tolerate slower CI integration tests
This commit is contained in:
1 parent
09d10f78f8
commit
09b8b14668
2 files changed
+4
-2
No files matched your search
+1
-1
@@ -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",
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user