chore: 프로젝트 초기 세팅 - #1
Conversation
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b2155461af
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| test: { | ||
| environment: "jsdom", |
There was a problem hiding this comment.
Isolate DOM state between Vitest cases
When a test file contains multiple cases that call render, the default Vitest configuration does not expose a global afterEach, so React Testing Library cannot register its automatic cleanup hook. DOM nodes from earlier cases then remain visible to later screen queries, causing false positives or unexpected multiple-element failures; configure a setup file that calls cleanup() after each test, or enable Vitest globals so the automatic hook can run.
Useful? React with 👍 / 👎.
요약
Next.js 프론트엔드 프로젝트의 초기 개발 환경과 협업 기준을 구성했습니다.
변경 사항
확인 사항
검증
pnpm lintpnpm typecheckpnpm test:cipnpm build스크린샷
UI 변경 없음