Files
2026-10-14 06:19:24 +00:00

37 lines
1.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.
> find-word@0.1.0 test
> vitest run tests/App.test.tsx
RUN v5.0.4 /home/hermes/worktrees/find-word-v0.1
❯ tests/App.test.tsx (7 tests | 1 failed) 2021ms
❯ 시작부터 결과까지 사용자 흐름 (7)
× 한글 조합을 확정하는 Enter는 채점하지 않고 다음 제출을 기다린다 345ms
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
FAIL tests/App.test.tsx > 시작부터 결과까지 사용자 흐름 > 한글 조합을 확정하는 Enter는 채점하지 않고 다음 제출을 기다린다
Error: expect(element).not.toBeInTheDocument()
expected document not to contain element, found <h2
tabindex="-1"
>
정답이에요!
</h2> instead
❯ tests/App.test.tsx:56:46
54| fireEvent.change(textbox, { target: { value: createQuestions(42, "…
55| fireEvent.submit(textbox.closest("form")!);
56| expect(screen.queryByText("정답이에요!")).not.toBeInTheDocument();
| ^
57| fireEvent.compositionEnd(textbox);
58| fireEvent.submit(textbox.closest("form")!);
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
Test Files 1 failed (1)
Tests 1 failed | 6 passed (7)
Start at 05:15:12
Duration 2.96s (tests 71%, environment 20%, transform 4%, setup 3%, import 1%)