Skip to content

Commit acd1d25

Browse files
committed
Fix OpenAI skip logic
1 parent 552802b commit acd1d25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integ/__fixtures__/_setup-global.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export async function setup(project: TestProject): Promise<void> {
7272

7373
async function getOpenAITestContext(isCI: boolean): Promise<ProvidedContext['provider-openai']> {
7474
const apiKey = process.env.OPENAI_API_KEY
75-
const shouldSkip = !!apiKey
75+
const shouldSkip = !apiKey
7676

7777
if (shouldSkip) {
7878
console.log('⏭️ OpenAI API key not available - integration tests will be skipped')

0 commit comments

Comments
 (0)