Skip to content

test(frontend): add vitest setup and tests for the frontend UI package#212

Merged
CammilleCC merged 6 commits into
mainfrom
test/frontend-vitest
Jul 2, 2026
Merged

test(frontend): add vitest setup and tests for the frontend UI package#212
CammilleCC merged 6 commits into
mainfrom
test/frontend-vitest

Conversation

@CammilleCC

Copy link
Copy Markdown
Member

About time to put some tests for the frontend 😆 This PR adds Vitest coverage for the UI package, including fast unit tests for plain logic and real-browser tests for component behavior.

Seems that there are some coupled functions that made testing a bit harder, I moved them into standalone modules. No behavior changes on the UI package. Just a lot of code movement.

@CammilleCC

Copy link
Copy Markdown
Member Author

Merging this now to continue.

@CammilleCC CammilleCC merged commit ce5c428 into main Jul 2, 2026
@CammilleCC CammilleCC deleted the test/frontend-vitest branch July 2, 2026 21:33
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