-
-
Notifications
You must be signed in to change notification settings - Fork 672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PUI] Add coverage testing #6881
Conversation
✅ Deploy Preview for inventree-web-pui-preview canceled.
|
…pui-test-coverage
@wolflu05 you are more experienced in typescript/frontend. Is anything sticking out with this implementation? |
Sorry, I have not that much experience with frontend testing, never really done this before. Regarding the changes on the vite config, does this mean we now ship sourcemaps with all builds? Is that wanted? And the plugin you added, has that any influence on the build or dev environment? |
Good points @wolflu05 |
I have removed tests I added before, they lowered the coverage a lot and were not that great - still wrapping my head around writing efficient tests. The focus of this PR - coverage - works great, expanding the tests should probably be part of further PUI development. |
Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com>
Quality Gate passedIssues Measures |
@matmair please address conflicts here |
…pui-test-coverage
@SchrodingersGat merge is in! |
This adds code coverage for the PUI tests and reporting to coveralls.