forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert tag cloud tests to jest (elastic#70066) (elastic#70850)
* Convert tag cloud tests to jest * Add mocks to test_utils and remove tests from legacy * Revert changes made by accident * Update tag_cloud_visualization.test.js * Update tag_cloud.test.js * Update jsdom_svg_mocks.ts * Add restoring previous value to window.SVGElement.prototype.transform * Get rid of some deep imports * Reimport jsdom_svg_mocks functions from test_utils/public * Get rid of ExprVis by inlining some of its params to vis object Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Alexey Antonov <[email protected]> Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Alexey Antonov <[email protected]>
- Loading branch information
1 parent
8aa3c36
commit b6aaf8a
Showing
14 changed files
with
395 additions
and
331 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
Binary file removed
BIN
-11.3 KB
...acy/core_plugins/kibana/public/__tests__/vis_type_tagcloud/afterparamchange.png
Binary file not shown.
Binary file removed
BIN
-8.8 KB
src/legacy/core_plugins/kibana/public/__tests__/vis_type_tagcloud/afterresize.png
Binary file not shown.
Binary file removed
BIN
-12.7 KB
src/legacy/core_plugins/kibana/public/__tests__/vis_type_tagcloud/basicdraw.png
Binary file not shown.
Binary file removed
BIN
-10.1 KB
src/legacy/core_plugins/kibana/public/__tests__/vis_type_tagcloud/simpleload.png
Binary file not shown.
202 changes: 0 additions & 202 deletions
202
src/legacy/core_plugins/kibana/public/__tests__/vis_type_tagcloud/tag_cloud_visualization.js
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
src/plugins/vis_type_tagcloud/public/components/__snapshots__/tag_cloud.test.js.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
...ns/vis_type_tagcloud/public/components/__snapshots__/tag_cloud_visualization.test.js.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.