Skip to content
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

[Security Solution] [ALL] Eliminates all console.error and console.warn from Jest output #78523

Merged
merged 14 commits into from
Sep 28, 2020

Conversation

stephmilovic
Copy link
Contributor

@stephmilovic stephmilovic commented Sep 25, 2020

Summary

The errors and warnings in our jest tests while at 100% passing is alarming. Not after this PR!

A few fun stats from these fixes

  • Brings console output on all security solution jest tests down from 9726 lines to 829 lines
  • Eliminates 275 instances of console.error
  • Eliminates 157 instances of console.warn
  • Eliminates 100 instances of UnhandledPromiseRejectionWarning

Alas, perfection:
111-fast

Checklist

Delete any items that are not applicable to this PR.

@stephmilovic stephmilovic added chore Team:SIEM release_note:skip Skip the PR/issue when compiling release notes v7.10.0 labels Sep 25, 2020
@stephmilovic stephmilovic requested review from a team as code owners September 25, 2020 01:30
@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

Copy link
Contributor

@FrankHassanabad FrankHassanabad left a comment

Choose a reason for hiding this comment

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

AWESOME! Love ❤️ PR's like these that clean things up and makes our tooling so awesome.

LGTM 💯

@stephmilovic
Copy link
Contributor Author

@elasticmachine merge upstream

1 similar comment
@stephmilovic
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@stephmilovic stephmilovic merged commit 8374f13 into elastic:master Sep 28, 2020
@stephmilovic stephmilovic deleted the jest-fixing branch September 28, 2020 13:59
stephmilovic added a commit to stephmilovic/kibana that referenced this pull request Sep 28, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Sep 28, 2020
* master:
  Fix APM lodash imports (elastic#78438)
  Add deprecated message to tile_map and region_map visualizations. (elastic#77683)
  Fix Lens smokescreen flaky tests (elastic#78566)
  updated discover with alt text (elastic#77660)
  Fix types (elastic#78619)
  Update tutorial-visualizing.asciidoc (elastic#76977)
  Update tutorial-discovering.asciidoc (elastic#76976)
  [Search] Error notification alignment (elastic#77788)
  Update tutorial-define-index.asciidoc (elastic#76975)
  [Lens] Fieldless operations (elastic#78080)
  [Usage Collection] [schema] Explicit "array" definition (elastic#78141)
  Update tutorial-define-index.asciidoc (elastic#76973)
  Fix --no-basepath references in doc (elastic#78570)
  Move StubIndexPattern to data plugin and convert to TS. (elastic#78518)
  Index pattern class - remove unused methods (elastic#78538)
  [Security Solution] [ALL] Eliminates all console.error and console.warn from Jest output (elastic#78523)
  [Actions] avoids setting a default dedupKey on PagerDuty (elastic#77773)
  First stab at developer-focussed saved objects docs (elastic#71430)
  remove unnecessary config validations (elastic#78527)
stephmilovic added a commit that referenced this pull request Sep 28, 2020
@MindyRS MindyRS added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Sep 23, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore release_note:skip Skip the PR/issue when compiling release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:SIEM v7.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants