-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
tests: make yarn unit run all available unit tests #13148
Conversation
well, these are covered by Context here is that #13146 is adding yet another directory with tests in it, and I don't really have any interest in adding a |
rather than make |
1a594bf
to
4765bf3
Compare
updated with docs test changes from #13150 so Also moved the
|
ในวันที่ ศ. 1 ต.ค. 2021 04:19 น. devtools-bot ***@***.***>
เขียนว่า:
… Merged #13148 <#13148>
into master.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#13148 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APZGLUSXV7HOQW76I2VY4W3UETH47ANCNFSM5FBDOQ7Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
we keep growing
yarn unit
by adding every newyarn unit-*
, butjest.config.js
has to have references to these files anyways, soyarn jest
works just fine if you just want to run all the unit tests :)This also fixes some overlaps and cracks between the
yarn unit-*
s. The currentyarn unit
doesn't runclients/test/extension/popup-test.js
clients/test/extension/settings-controller-test.js
clients/test/lightrider-entry-test.js
docs/recipes/integration-test/example-lh-auth.test.js
third-party/chromium-synchronization/inspector-issueAdded-types-test.js
third-party/chromium-synchronization/installability-errors-test.js
the last two might be on purpose but seems like they should be in the testing path if the goal is for changes in Canary to alert us to needed updates? It also made us miss that the path to
LH_ROOT
was wrong ininspector-issueAdded-types-test.js
and it doesn't run at all.We're also running the
flow-report
tests twice because they're picked up by bothyarn unit-report
andyarn unit-flow
.This is most important in CI, where unit.yml runs them via
yarn unit:ci
and should be running all the tests.