Unit Tests for common/lib#53736
Conversation
|
Pinging @elastic/kibana-canvas (Team:Canvas) |
There was a problem hiding this comment.
I'm sure there's a better way to do this...
💔 Build Failed
To update your PR or re-run it, just comment with: |
31adcf9 to
a4839d8
Compare
|
@elasticmachine merge upstream |
poffdeluxe
left a comment
There was a problem hiding this comment.
Overall looks good, just a couple of comments re:test result descriptions
There was a problem hiding this comment.
minor but if we're switching to use the it syntax, I think we should make the descriptions match that. For example, changing invalid hex here to should return null for invalid hex values
There was a problem hiding this comment.
same comment as the hex tests
There was a problem hiding this comment.
This path is weird with a leading single dot. Can you just do ../../ instead?
8b72aae to
9439c3e
Compare
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* converting mocha tests to jest * adding a few lib tests * adding more lib tests * moving test files and adding autocomplete tests * updating test definition * fixing import and test definitions
* converting mocha tests to jest * adding a few lib tests * adding more lib tests * moving test files and adding autocomplete tests * updating test definition * fixing import and test definitions Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* master: (69 commits) [Graph] Fix various a11y issues (elastic#54097) Add ApplicationService app status management (elastic#50223) logs in one time (elastic#54447) Deprecate using `elasticsearch.ssl.certificate` without `elasticsearch.ssl.key` and vice versa (elastic#54392) [Optimizer] Fix a stack overflow with watch_cache when it attempts to delete very large folders. (elastic#54457) Security - Role Mappings UI (elastic#53620) [SIEM] [Detection engine] Permission II (elastic#54292) Allow User to Cleanup Repository from UI (elastic#53047) [Detection engine] Some UX for rule creation (elastic#54471) share specific instances of some ui packages (elastic#54079) [ML] APM modules configs for RUM Javascript and NodeJS (elastic#53792) [APM] Delay rendering invalid license notification (elastic#53924) [Graph] Improve error message on graph requests (elastic#54230) [ILM] Kibana should allow a min_age setting of 0ms in ILM policy phases (elastic#53719) Unit Tests for common/lib (elastic#53736) [Graph] Only show explorable fields (elastic#54101) remove linting rule exception for markdown (elastic#54232) [Monitoring] Fetch shard data more efficiently (elastic#54028) [Maps] Add hiddenLayers option to embeddable map input (elastic#54355) Pass termOrder and hasTermsAgg properties to serializeThresholdWatch function (elastic#54391) ...
* master: (69 commits) [Graph] Fix various a11y issues (elastic#54097) Add ApplicationService app status management (elastic#50223) logs in one time (elastic#54447) Deprecate using `elasticsearch.ssl.certificate` without `elasticsearch.ssl.key` and vice versa (elastic#54392) [Optimizer] Fix a stack overflow with watch_cache when it attempts to delete very large folders. (elastic#54457) Security - Role Mappings UI (elastic#53620) [SIEM] [Detection engine] Permission II (elastic#54292) Allow User to Cleanup Repository from UI (elastic#53047) [Detection engine] Some UX for rule creation (elastic#54471) share specific instances of some ui packages (elastic#54079) [ML] APM modules configs for RUM Javascript and NodeJS (elastic#53792) [APM] Delay rendering invalid license notification (elastic#53924) [Graph] Improve error message on graph requests (elastic#54230) [ILM] Kibana should allow a min_age setting of 0ms in ILM policy phases (elastic#53719) Unit Tests for common/lib (elastic#53736) [Graph] Only show explorable fields (elastic#54101) remove linting rule exception for markdown (elastic#54232) [Monitoring] Fetch shard data more efficiently (elastic#54028) [Maps] Add hiddenLayers option to embeddable map input (elastic#54355) Pass termOrder and hasTermsAgg properties to serializeThresholdWatch function (elastic#54391) ...
Summary
Adding jest tests for common/lib directory.
Closes #23076
CODE COVERAGE BEFORE:

CODE COVERAGE AFTER:

Checklist
- [ ] This was checked for cross-browser compatibility, including a check against IE11- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support- [ ] Documentation was added for features that require explanation or tutorials- [ ] This was checked for keyboard-only and screenreader accessibilityFor maintainers