Skip to content

Testing: Add jest#566

Merged
egsch merged 9 commits intodevelopfrom
testing-add-jest
Mar 9, 2026
Merged

Testing: Add jest#566
egsch merged 9 commits intodevelopfrom
testing-add-jest

Conversation

@egsch
Copy link
Contributor

@egsch egsch commented Feb 4, 2026

Testing

Tests are written with Jest. To run tests, type npm run test. Tests should be run and passing when making or merging a PR.

Test scripts are located in the __tests__ folder.
Mock files necessary for the tests should be located in the mocks folder. Use mocks for any necessary data, but use the

Testing philosophy: test components with significant internal processing or logic. Keep tests as independent of details and implementation as possible.

@vercel
Copy link

vercel bot commented Feb 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
utd-trends Ready Ready Preview, Comment Mar 4, 2026 3:18pm

Request Review

Copy link
Member

@TyHil TyHil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

May be worth removing a lot of the comments in jest.config.ts tho.

And your PR description would be good to keep around, maybe it could go in like a docs/testing.md file.

@egsch egsch merged commit 742da3e into develop Mar 9, 2026
3 checks passed
@egsch egsch deleted the testing-add-jest branch March 9, 2026 17:11
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.

2 participants