Files
Find-Word/.agent/evidence/08-rule-red.log
T
2026-10-14 06:19:24 +00:00

33 lines
1.2 KiB
Plaintext
Raw 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.
> find-word@0.1.0 test
> vitest run tests/content.test.ts
RUN v5.0.4 /home/hermes/worktrees/find-word-v0.1
❯ tests/content.test.ts (4 tests | 1 failed) 13ms
❯ 저장된 문제·환경 데이터 (4)
× 오답마다 서로 다른 변형 혼동 난이도를 추적할 수 있다 6ms
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
FAIL tests/content.test.ts > 저장된 문제·환경 데이터 > 오답마다 서로 다른 변형 혼동 난이도를 추적할 수 있다
TypeError: actual value must be number or bigint, received "undefined"
❯ tests/content.test.ts:10:42
8| WORDS.forEach(entry => {
9| const ranks = entry.distractors.map(d => RULE_DIFFICULTY[d.rule]…
10| ranks.forEach(rank => expect(rank).toBeGreaterThan(0));
| ^
11| expect(new Set(ranks).size).toBe(3);
12| });
❯ tests/content.test.ts:10:13
❯ tests/content.test.ts:8:11
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
Test Files 1 failed (1)
Tests 1 failed | 3 passed (4)
Start at 05:10:58
Duration 885ms (environment 78%, setup 13%, transform 6%, tests 2%, worker 1%, import 1%)