Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
chore(e2e): add TIMEOUTS.FIXTURE and bump LLM_SHORT
Add FIXTURE: 15_000 timeout constant for beforeAll hooks that call runFixture(). Bump LLM_SHORT from 15_000 to 30_000 for more headroom on LLM calls. Apply TIMEOUTS.FIXTURE to all fixture-using beforeAll hooks that previously relied on the implicit 5s bun:test default.
jkomyno committed
Feb 17, 2026 at 12:37 UTC
bce7afa0ea243989e0ab0796de0331e8fe651e31
5 files changed
+10
-5
ts/e2e-tests/_utils/src/const.ts
+2
-1
@@ -17,6 +17,7 @@ export const WELL_KNOWN_DENO_VERSIONS = ['2.6.7', 'current'] as const;
17
18
export const TIMEOUTS = {
19
DEFAULT: 5_000,
20
- LLM_SHORT: 15_000,
20
+ FIXTURE: 15_000,
21
+ LLM_SHORT: 30_000,
22
LLM_LONG: 60_000,
23
} as const;
ts/e2e-tests/runtimes/deno/esm-basic/e2e.test.ts
+2
-1
@@ -5,6 +5,7 @@
5
*/
6
7
import { e2e, type E2ETestResult } from '@e2e-tests/utils';
8
+import { TIMEOUTS } from '@e2e-tests/utils/const';
9
import { describe, it, expect, beforeAll } from 'bun:test';
10
11
e2e(import.meta.url, {
@@ -17,7 +18,7 @@ e2e(import.meta.url, {
18
19
beforeAll(async () => {
20
result = await runFixture({ filename: 'test.ts' });
20
- });
21
+ }, TIMEOUTS.FIXTURE);
22
23
describe('ESM compatibility (Deno)', () => {
24
it('exits successfully', () => {
ts/e2e-tests/runtimes/node/cjs-basic/e2e.test.ts
+2
-1
@@ -5,6 +5,7 @@
5
*/
6
7
import { e2e, type E2ETestResult } from '@e2e-tests/utils';
8
+import { TIMEOUTS } from '@e2e-tests/utils/const';
9
import { describe, it, expect, beforeAll } from 'bun:test';
10
11
e2e(import.meta.url, {
@@ -23,7 +24,7 @@ e2e(import.meta.url, {
24
25
beforeAll(async () => {
26
result = await runFixture({ filename: 'test.cjs' });
26
- });
27
+ }, TIMEOUTS.FIXTURE);
28
29
describe('CommonJS compatibility', () => {
30
it('exits successfully', () => {
ts/e2e-tests/runtimes/node/esm-basic/e2e.test.ts
+2
-1
@@ -5,6 +5,7 @@
5
*/
6
7
import { e2e, type E2ETestResult } from '@e2e-tests/utils';
8
+import { TIMEOUTS } from '@e2e-tests/utils/const';
9
import { describe, it, expect, beforeAll } from 'bun:test';
10
11
e2e(import.meta.url, {
@@ -23,7 +24,7 @@ e2e(import.meta.url, {
24
25
beforeAll(async () => {
26
result = await runFixture({ filename: 'test.mjs' });
26
- });
27
+ }, TIMEOUTS.FIXTURE);
28
29
describe('ESM compatibility', () => {
30
it('exits successfully', () => {
ts/e2e-tests/runtimes/node/openai-zod4-compat/e2e.test.ts
+2
-1
@@ -6,6 +6,7 @@
6
*/
7
8
import { e2e, type E2ETestResultWithSetup } from '@e2e-tests/utils';
9
+import { TIMEOUTS } from '@e2e-tests/utils/const';
10
import { describe, it, expect, beforeAll } from 'bun:test';
11
12
declare module 'bun' {
@@ -28,7 +29,7 @@ e2e(import.meta.url, {
29
filename: 'index.mjs',
30
setup: 'npm install --legacy-peer-deps',
31
});
31
- });
32
+ }, TIMEOUTS.FIXTURE);
33
34
describe('setup', () => {
35
it('npm install completes successfully', () => {