Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
remove await
Browse files Browse the repository at this point in the history
  • Loading branch information
patcher9 committed Feb 11, 2024
1 parent bfe9903 commit a135d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/openai.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ describe('OpenAI Test', () => {
}).timeout(30000);

it('should return a response with url as "https://api.openai.com/v1/audio/speech"', async () => {
await DokuMetry.init({llm: openai, dokuUrl: process.env.DOKU_URL, apiKey: process.env.DOKU_TOKEN, environment: "dokumetry-testing", applicationName: "dokumetry-node-test", skipResp: false});
DokuMetry.init({llm: openai, dokuUrl: process.env.DOKU_URL, apiKey: process.env.DOKU_TOKEN, environment: "dokumetry-testing", applicationName: "dokumetry-node-test", skipResp: false});
const audioSpeech = await openai.audio.speech.create({
model: 'tts-1',
voice: 'alloy',
Expand Down

0 comments on commit a135d81

Please sign in to comment.