Skip to content

Commit b6102b3

Browse files
committed
fix test
1 parent 0307ed5 commit b6102b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ describe('retries', () => {
791791
} catch (error: any) {
792792
expect(error).toBeInstanceOf(Error);
793793
expect(error.message).toEqual(
794-
'Missing credentials. Please pass one of `apiKey` and `tokenProvider`, or set the `OPENAI_API_KEY` environment variable.',
794+
'Missing credentials. Please pass an `apiKey`, or set the `OPENAI_API_KEY` environment variable.',
795795
);
796796
}
797797
});

0 commit comments

Comments
 (0)