Skip to content

Commit ac1a850

Browse files
committed
Adjust prompt caching integration timeout
1 parent 054fdc2 commit ac1a850

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sdk/src/__tests__/run.integration.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { API_KEY_ENV_VAR } from '@codebuff/common/old-constants'
22
import { describe, expect, it } from 'bun:test'
3+
import { DEFAULT_TIMEOUT } from '../../e2e/utils/test-fixtures'
34

45
// Force test environment for this integration so we hit the seeded local backend
56
process.env.NEXT_PUBLIC_CB_ENVIRONMENT = 'test'
@@ -39,6 +40,6 @@ describe('Prompt Caching', () => {
3940
console.dir(run.output, { depth: null })
4041
expect(run.output.type).not.toEqual('error')
4142
},
42-
{ timeout: 20_000 },
43+
{ timeout: DEFAULT_TIMEOUT },
4344
)
4445
})

0 commit comments

Comments
 (0)