Skip to content

Feature/add automated testing#2

Open
dean9703111 wants to merge 11 commits into
developfrom
feature/add-automated-testing
Open

Feature/add automated testing#2
dean9703111 wants to merge 11 commits into
developfrom
feature/add-automated-testing

Conversation

@dean9703111
Copy link
Copy Markdown
Contributor

No description provided.

dean9703111 added 11 commits May 4, 2026 23:09
新增 vitest、@testing-library/react、jsdom 等測試相依套件,設定 vitest.config.ts 與 test-setup.ts,並將 coverage/ 加入 .gitignore 與 eslint ignore。
覆蓋渲染、表單驗證、登入成功/失敗、Loading 狀態共 13 個測試案例,覆蓋率 100%。
每次 push 任意分支觸發測試,完成後上傳覆蓋率報告為 artifact(保留 30 天)。
移除未使用的 AnimatedGradientText import、let 改 const、
為 shadcn 元件與 hook 加入 react-refresh disable、
為 useEffect 內的 setState 加入 set-state-in-effect disable。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant