-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
test:jest improvements to better support our monorepo #84848
Conversation
2e4a8e2
to
87b3b9b
Compare
0de2f02
to
81e2176
Compare
c350d21
to
d591472
Compare
cbb1bd9
to
e195cc2
Compare
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
e195cc2
to
8364444
Compare
Pinging @elastic/kibana-operations (Team:Operations) |
Pinging @elastic/uptime (Team:uptime) |
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.
Changes to x-pack/plugins/encrypted_saved_objects/README.md
LGTM 🎉
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.
Readme changes LGTM
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.
Changes to ML and Transforms READMEs LGTM
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.
Awesome, looks so much clean
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.
Alerting changes LGTM
@elasticmachine merge upstream |
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.
Woo hoo! Enterprise Search team is super excited for this :)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
💚 Build SucceededMetrics [docs]Async chunks
Distributable file count
Page load bundle
History
To update your PR or re-run it, just comment with: |
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> # Conflicts: # docs/developer/contributing/development-functional-tests.asciidoc # test/scripts/jenkins_unit.sh # test/scripts/jenkins_xpack.sh # x-pack/README.md
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> # Conflicts: # docs/developer/contributing/development-functional-tests.asciidoc # test/scripts/jenkins_unit.sh # test/scripts/jenkins_xpack.sh # x-pack/README.md Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Improves the
yarn test:jest
script to provide a better testing experience while navigating throughout the monorepo. To run the tests within your current working directory, useyarn test:jest
. Like the Jest CLI, you can also supply a path to determine which tests to run. The best-suited Jest configuration will be selected based on your current working directory, or the path provided to ensure the tests start as quickly as possible. Any additional arguments are passed onto the Jest CLI, like--coverage
.Details are available in the updated docs: https://kibana_84848.docs-preview.app.elstc.co/guide/en/kibana/master/development-tests.html#_unit_testing
This removes any differences there was between how unit tests are run in OSS or X-Pack.