Skip to content

Commit 7360673

Browse files
committed
fix run integration test
1 parent 017cf77 commit 7360673

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,3 +1,4 @@
1+
import { API_KEY_ENV_VAR } from '@codebuff/common/old-constants'
12
import { describe, expect, it } from 'bun:test'
23

34
import { CodebuffClient } from '../client'
@@ -11,7 +12,7 @@ describe('Prompt Caching', () => {
1112
'Ignore this text. This is just to make the prompt longer. '.repeat(500)
1213
const prompt = 'respond with "hi"'
1314

14-
const apiKey = '12345'
15+
const apiKey = process.env[API_KEY_ENV_VAR]
1516
if (!apiKey) {
1617
throw new Error('API key not found')
1718
}

0 commit comments

Comments
 (0)