-
Notifications
You must be signed in to change notification settings - Fork 0
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
build: Unit test summary #211
Conversation
End-to-end Test Summary
Detailed Test Results
Failed Test SummaryNo failed tests ✨Flaky Test SummaryNo flaky tests detected. ✨ |
Unit Test Summary
Detailed Test Results
Failed Test SummaryNo failed tests ✨Flaky Test SummaryNo flaky tests detected. ✨ |
13bf348
to
541d69a
Compare
package.json
Outdated
@@ -43,7 +43,7 @@ | |||
"test:ci": "npm run compile && npm run test:lint && npm run test:unit", | |||
"test:e2e": "npm run compile && cd e2e && wdio run ./wdio.conf.ts", | |||
"test:lint": "eslint . --ext ts", | |||
"test:unit": "vitest --reporter=default --reporter=junit --outputFile=./test-reports/vitest.junit.xml", | |||
"test:unit": "vitest --reporter=default --reporter=junit --outputFile=../test-reports/vitest.junit.xml", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is kind of confusing because we have root: 'src'
in the config - I would have expected this to be relative to package.json, but it's relative to the root defined in the config.
I think instead in the config we shouldn't be changing root
, and we should instead be specifying dir
: https://vitest.dev/config/#dir
Or just include
.
Co-authored-by: Mike Bender <[email protected]>
DH-18524: Fixed unit test report path that was breaking GH action