Files
2026-10-14 10:01:46 +00:00

62 lines
2.3 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
$ npx vitest run tests/ambience.test.ts tests/App.test.tsx -t 현장 녹음은|환경음 저작자
RUN v5.0.4 /home/hermes/worktrees/find-word-v0.2.3
❯ tests/ambience.test.ts (2 tests | 1 failed | 1 skipped) 16ms
× 여덟 현장 녹음은 고유 PCM16 WAV·짧은 fade·완전한 provenance/notice를 가진다 15ms
❯ tests/App.test.tsx (23 tests | 1 failed | 22 skipped) 200ms
× 환경음 저작자·라이선스 고지를 같은 출처 링크로 제공한다 198ms
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯
FAIL tests/App.test.tsx > 환경음 저작자·라이선스 고지를 같은 출처 링크로 제공한다
Error: expect(element).toHaveAttribute("href", "/ambience/AMBIENCE_NOTICES.md") // element.getAttribute("href") === "/ambience/AMBIENCE_NOTICES.md"
Expected the element to have attribute:
href="/ambience/AMBIENCE_NOTICES.md"
Received:
href="/AMBIENCE_NOTICES.md"
❯ tests/App.test.tsx:485:5
483| expect(
484| screen.getByRole("link", { name: "환경음 출처·라이선스" }),
485| ).toHaveAttribute("href", "/ambience/AMBIENCE_NOTICES.md");
| ^
486| });
487|
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯
FAIL tests/ambience.test.ts > 여덟 현장 녹음은 고유 PCM16 WAV·짧은 fade·완전한 provenance/notice를 가진다
AssertionError: expected [ 'cafe.wav', 'department.wav', …(7) ] to deeply equal [ 'AMBIENCE_NOTICES.md', …(9) ]
- Expected
+ Received
@@ -1,7 +1,6 @@
[
- "AMBIENCE_NOTICES.md",
"cafe.wav",
"department.wav",
"mall.wav",
"manifest.json",
"market.wav",
❯ tests/ambience.test.ts:16:49
14| manifest.files.map((f: { environmentId: string }) => f.environment…
15| ).toEqual(ENVIRONMENTS.map((e) => e.id));
16| expect(readdirSync("public/ambience").sort()).toEqual(
| ^
17| [...ENVIRONMENTS.map((e) => `${e.id}.wav`), "manifest.json", "AMBI…
18| );
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯
Test Files 2 failed (2)
Tests 2 failed | 23 skipped (25)
Start at 08:51:12
Duration 1.15s (environment 50%, setup 19%, tests 18%, transform 7%, import 5%, worker 1%)
EXIT_CODE=1