Skip to content

Commit

Permalink
test: unskip transcription tests (#667)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Feb 12, 2024
1 parent 291bcab commit dcb6628
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/api-resources/audio/transcriptions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ const openai = new OpenAI({
});

describe('resource transcriptions', () => {
// test is currently broken
test.skip('create: only required params', async () => {
test('create: only required params', async () => {
const responsePromise = openai.audio.transcriptions.create({
file: await toFile(Buffer.from('# my file contents'), 'README.md'),
model: 'whisper-1',
Expand All @@ -24,8 +23,7 @@ describe('resource transcriptions', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

// test is currently broken
test.skip('create: required and optional params', async () => {
test('create: required and optional params', async () => {
const response = await openai.audio.transcriptions.create({
file: await toFile(Buffer.from('# my file contents'), 'README.md'),
model: 'whisper-1',
Expand Down

0 comments on commit dcb6628

Please sign in to comment.