Files

71 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

2026-10-14 10:01:46 +00:00
$ npx vitest run tests/ambience.test.ts -t '최종 ASR'
Started UTC: 2026-10-14T09:19:17.358762+00:00
RUN v5.0.4 /home/hermes/worktrees/find-word-v0.2.3
❯ tests/ambience.test.ts (5 tests | 1 failed | 4 skipped) 15ms
× 최종 ASR 증거는 정확한 WAV와 연결되며 청취·법적 인수로 주장하지 않는다 14ms
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
FAIL tests/ambience.test.ts > 최종 ASR 증거는 정확한 WAV와 연결되며 청취·법적 인수로 주장하지 않는다
AssertionError: expected [ Array(1) ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "avg_logprob": -0.93099288476838,
+ "compression_ratio": 1.8064516129032258,
+ "end": 12,
+ "id": 1,
+ "no_speech_prob": 0.33958810567855835,
+ "seek": 0,
+ "start": 0,
+ "temperature": 0,
+ "text": " It's so beautiful, it's so beautiful, it's so beautiful.",
+ "tokens": [
+ 50364,
+ 467,
+ 311,
+ 370,
+ 2238,
+ 11,
+ 309,
+ 311,
+ 370,
+ 2238,
+ 11,
+ 309,
+ 311,
+ 370,
+ 2238,
+ 13,
+ 50964,
+ ],
+ "words": null,
+ },
+ ]
❯ tests/ambience.test.ts:224:31
222| expect(Array.isArray(result.segments)).toBe(true);
223| if (["mall", "market", "cafe"].includes(entry.environmentId)) {
224| expect(result.segments).toEqual([]);
| ^
225| expect(result.text).toBe("");
226| }
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
Test Files 1 failed (1)
Tests 1 failed | 4 skipped (5)
Start at 09:19:17
Duration 298ms (setup 60%, transform 24%, tests 9%, import 5%, worker 2%)
Exit code: 1
Finished UTC: 2026-10-14T09:19:18.258550+00:00