-
Notifications
You must be signed in to change notification settings - Fork 503
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refac: migrate
ExamplesLink
and EmphasizedNode
components from en…
…zyme to RTL (#2066) ## Which problem is this PR solving? Fixes part of #1668 ## Description of the changes - Migrates `ExamplesLink` and `EmphasizedNode` components from enzyme to RTL - Replaces snapshot testing with actual test for the URLs ## How was this change tested? Running the tests locally ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [x] I have added unit tests for the new functionality - [x] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `yarn lint` and `yarn test` Signed-off-by: Eshaan Aggarwal <[email protected]>
- Loading branch information
Showing
6 changed files
with
43 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 0 additions & 28 deletions
28
packages/jaeger-ui/src/components/common/__snapshots__/EmphasizedNode.test.js.snap
This file was deleted.
Oops, something went wrong.
37 changes: 0 additions & 37 deletions
37
packages/jaeger-ui/src/components/common/__snapshots__/ExamplesLink.test.js.snap
This file was deleted.
Oops, something went wrong.