test: complete frontend test suite, add lint and CI workflow #46

Merged
eliott merged 1 commit from develop into main 2026-05-08 20:49:15 +02:00
Owner

Summary

Promotes the frontend test work merged via #45 from `develop` to `main`. Single commit going up:

  • 699 unit tests (Vitest, JSDOM, 127 spec files), 6 e2e tests (Playwright with hermetic API mocks).
  • CI workflow at `.forgejo/workflows/test.yml` running install -> lint -> typecheck -> unit -> e2e.
  • Tooling: ESLint (`angular-eslint`), `tsc --noEmit` typecheck script, Playwright config.
  • DI seam: 7 account/auth components moved from `injectAuthClient()` to `inject(AUTH_CLIENT)`.
  • Type cleanup: empty `UpdateXDto extends CreateXDto` interfaces -> type aliases.

No production behavior change beyond the DI seam (which is a no-op at runtime).

Test plan

  • PR #45 CI green on `develop`.
  • Verify the same workflow runs green on this PR before merging.

🤖 Generated with Claude Code

## Summary Promotes the frontend test work merged via #45 from \`develop\` to \`main\`. Single commit going up: - **699 unit tests** (Vitest, JSDOM, 127 spec files), **6 e2e tests** (Playwright with hermetic API mocks). - **CI workflow** at \`.forgejo/workflows/test.yml\` running install -> lint -> typecheck -> unit -> e2e. - **Tooling**: ESLint (\`angular-eslint\`), \`tsc --noEmit\` typecheck script, Playwright config. - **DI seam**: 7 account/auth components moved from \`injectAuthClient()\` to \`inject(AUTH_CLIENT)\`. - **Type cleanup**: empty \`UpdateXDto extends CreateXDto\` interfaces -> type aliases. No production behavior change beyond the DI seam (which is a no-op at runtime). ## Test plan - [x] PR #45 CI green on \`develop\`. - [ ] Verify the same workflow runs green on this PR before merging. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
test: complete frontend test suite, add lint and CI workflow (#45)
Some checks failed
tests / test (push) Successful in 2m24s
tests / test (pull_request) Has been cancelled
c401f3442c
Reviewed-on: #45
Co-authored-by: Eliott BIDAULT-HERVOUET <homelab@eliottbidault.fr>
Co-committed-by: Eliott BIDAULT-HERVOUET <homelab@eliottbidault.fr>
eliott merged commit 2b9a0c394e into main 2026-05-08 20:49:15 +02:00
Sign in to join this conversation.
No reviewers
No labels
run-ci
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
RollNote/rollnote-front!46
No description provided.