125 lines
2.9 KiB
Plaintext
125 lines
2.9 KiB
Plaintext
$ npm test
|
||||
|
|
Started UTC: 2026-10-14T09:21:25.178903+00:00
|
|||
|
|
|
|||
|
|
> find-word@0.2.3 test
|
|||
|
|
> vitest run
|
|||
|
|
|
|||
|
|
|
|||
|
|
RUN v5.0.4 /home/hermes/worktrees/find-word-v0.2.3
|
|||
|
|
|
|||
|
|
❯ tests/ambience.test.ts (5 tests | 1 failed) 1346ms
|
|||
|
|
× 최종 ASR 증거는 정확한 WAV와 연결되며 청취·법적 인수로 주장하지 않는다 50ms
|
|||
|
|
|
|||
|
|
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
|
|||
|
|
|
|||
|
|
FAIL tests/ambience.test.ts > 최종 ASR 증거는 정확한 WAV와 연결되며 청취·법적 인수로 주장하지 않는다
|
|||
|
|
AssertionError: expected [ { id: 1, seek: +0, …(9) }, …(2) ] to deeply equal []
|
|||
|
|
|
|||
|
|
- Expected
|
|||
|
|
+ Received
|
|||
|
|
|
|||
|
|
- []
|
|||
|
|
+ [
|
|||
|
|
+ {
|
|||
|
|
+ "avg_logprob": -0.7898735548998859,
|
|||
|
|
+ "compression_ratio": 2.276595744680851,
|
|||
|
|
+ "end": 2.43,
|
|||
|
|
+ "id": 1,
|
|||
|
|
+ "no_speech_prob": 0.4569862484931946,
|
|||
|
|
+ "seek": 0,
|
|||
|
|
+ "start": 0.43,
|
|||
|
|
+ "temperature": 0.2,
|
|||
|
|
+ "text": " I'm going to take a picture of you.",
|
|||
|
|
+ "tokens": [
|
|||
|
|
+ 50364,
|
|||
|
|
+ 286,
|
|||
|
|
+ 478,
|
|||
|
|
+ 516,
|
|||
|
|
+ 281,
|
|||
|
|
+ 747,
|
|||
|
|
+ 257,
|
|||
|
|
+ 3036,
|
|||
|
|
+ 295,
|
|||
|
|
+ 291,
|
|||
|
|
+ 13,
|
|||
|
|
+ 50464,
|
|||
|
|
+ ],
|
|||
|
|
+ "words": null,
|
|||
|
|
+ },
|
|||
|
|
+ {
|
|||
|
|
+ "avg_logprob": -0.7898735548998859,
|
|||
|
|
+ "compression_ratio": 2.276595744680851,
|
|||
|
|
+ "end": 4.43,
|
|||
|
|
+ "id": 2,
|
|||
|
|
+ "no_speech_prob": 0.4569862484931946,
|
|||
|
|
+ "seek": 0,
|
|||
|
|
+ "start": 2.43,
|
|||
|
|
+ "temperature": 0.2,
|
|||
|
|
+ "text": " I'm going to take a picture of you.",
|
|||
|
|
+ "tokens": [
|
|||
|
|
+ 50464,
|
|||
|
|
+ 286,
|
|||
|
|
+ 478,
|
|||
|
|
+ 516,
|
|||
|
|
+ 281,
|
|||
|
|
+ 747,
|
|||
|
|
+ 257,
|
|||
|
|
+ 3036,
|
|||
|
|
+ 295,
|
|||
|
|
+ 291,
|
|||
|
|
+ 13,
|
|||
|
|
+ 50564,
|
|||
|
|
+ ],
|
|||
|
|
+ "words": null,
|
|||
|
|
+ },
|
|||
|
|
+ {
|
|||
|
|
+ "avg_logprob": -0.7898735548998859,
|
|||
|
|
+ "compression_ratio": 2.276595744680851,
|
|||
|
|
+ "end": 6.43,
|
|||
|
|
+ "id": 3,
|
|||
|
|
+ "no_speech_prob": 0.4569862484931946,
|
|||
|
|
+ "seek": 0,
|
|||
|
|
+ "start": 4.43,
|
|||
|
|
+ "temperature": 0.2,
|
|||
|
|
+ "text": " I'm going to take a picture of you.",
|
|||
|
|
+ "tokens": [
|
|||
|
|
+ 50564,
|
|||
|
|
+ 286,
|
|||
|
|
+ 478,
|
|||
|
|
+ 516,
|
|||
|
|
+ 281,
|
|||
|
|
+ 747,
|
|||
|
|
+ 257,
|
|||
|
|
+ 3036,
|
|||
|
|
+ 295,
|
|||
|
|
+ 291,
|
|||
|
|
+ 13,
|
|||
|
|
+ 50664,
|
|||
|
|
+ ],
|
|||
|
|
+ "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 | 12 passed (13)
|
|||
|
|
Tests 1 failed | 123 passed (124)
|
|||
|
|
Start at 09:21:26
|
|||
|
|
Duration 33.46s (tests 88%, environment 8%, setup 4%)
|
|||
|
|
|
|||
|
|
Isolate 13 workers spawned · ~702ms startup each (spawn + environment, per file)
|
|||
|
|
at least ~2.34s faster with isolate: false — reuses workers across files instead of one per file
|
|||
|
|
|
|||
|
|
|
|||
|
|
Exit code: 1
|
|||
|
|
Finished UTC: 2026-10-14T09:21:59.522503+00:00
|