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

73 lines
3.0 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 (3 tests | 3 failed) 12ms
❯ 저장된 문제·환경 데이터 (3)
× 서로 다른 질문 의도를 가진 열 가지 이상 문장 패턴을 제공한다 5ms
× 네 개의 고유 사전 단어와 서로 다른 오답 규칙을 제공한다 1ms
× 여덟 환경과 단조롭게 낮아지는 다섯 상대 dB를 제공한다 5ms
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 3 ⎯⎯⎯⎯⎯⎯⎯
FAIL tests/content.test.ts > 저장된 문제·환경 데이터 > 서로 다른 질문 의도를 가진 열 가지 이상 문장 패턴을 제공한다
AssertionError: expected 0 to be greater than or equal to 10
❯ tests/content.test.ts:8:29
6| describe('저장된 문제·환경 데이터', () => {
7| it('서로 다른 질문 의도를 가진 열 가지 이상 문장 패턴을 제공한다', () => {
8| expect(PATTERNS.length).toBeGreaterThanOrEqual(10);
| ^
9| expect(new Set(PATTERNS.map(p => p.id)).size).toBe(PATTERNS.length…
10| expect(new Set(PATTERNS.map(p => p.question)).size).toBe(PATTERNS.…
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/3]⎯
FAIL tests/content.test.ts > 저장된 문제·환경 데이터 > 네 개의 고유 사전 단어와 서로 다른 오답 규칙을 제공한다
AssertionError: expected 0 to be greater than or equal to 10
❯ tests/content.test.ts:14:26
12| });
13| it('네 개의 고유 사전 단어와 서로 다른 오답 규칙을 제공한다', () => {
14| expect(WORDS.length).toBeGreaterThanOrEqual(10);
| ^
15| WORDS.forEach(entry => {
16| expect(entry.distractors).toHaveLength(3);
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/3]⎯
FAIL tests/content.test.ts > 저장된 문제·환경 데이터 > 여덟 환경과 단조롭게 낮아지는 다섯 상대 dB를 제공한다
AssertionError: expected [] to deeply equal [ '길거리', '쇼핑몰', '극장', '백화점', …(4) ]
- Expected
+ Received
- [
- "길거리",
- "쇼핑몰",
- "극장",
- "백화점",
- "시장",
- "지하철",
- "카페",
- "비 오는 거리",
- ]
+ []
❯ tests/content.test.ts:36:43
34| });
35| it('여덟 환경과 단조롭게 낮아지는 다섯 상대 dB를 제공한다', () => {
36| expect(ENVIRONMENTS.map(e => e.name)).toEqual(['길거리', '쇼핑몰', '극장',…
| ^
37| expect(new Set(ENVIRONMENTS.map(e => e.seed)).size).toBe(8);
38| expect(LEVELS).toHaveLength(5);
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/3]⎯
Test Files 1 failed (1)
Tests 3 failed (3)
Start at 04:54:05
Duration 899ms (environment 78%, setup 13%, transform 6%, tests 2%, worker 1%)