Skip to content

Commit 0513f87

Browse files
committed
node : fix whisper.spec.js to use transcription key
1 parent 601a415 commit 0513f87

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/addon.node/__test__/whisper.spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ const whisperParamsMock = {
3131
describe("Run whisper.node", () => {
3232
test("it should receive a non-empty value", async () => {
3333
let result = await whisperAsync(whisperParamsMock);
34+
console.log(result);
3435

35-
expect(result.length).toBeGreaterThan(0);
36+
expect(result['transcription'].length).toBeGreaterThan(0);
3637
}, 10000);
3738
});
3839

0 commit comments

Comments
 (0)