From a135d812dd31f025e6c5fb0e744917dd85e2cb45 Mon Sep 17 00:00:00 2001 From: patcher99 Date: Sun, 11 Feb 2024 12:20:42 +0530 Subject: [PATCH] remove await --- tests/openai.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/openai.test.mjs b/tests/openai.test.mjs index 9a84988..896a30b 100644 --- a/tests/openai.test.mjs +++ b/tests/openai.test.mjs @@ -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',