> 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
정답이에요!
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%)