Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Uptime] Remove prototype overwrite in unit test (elastic#73709)
* Remove prototype overwrite in unit test. * Wrap calls to prototype functions with jest.spyOn. * add additional component test helpers * add test examples * uptime testing utils remove custom prefix from props and parameter options * skip executed step tests * adjust MlJobLink test * add testing util interfaces * Move updated test files to correct locations. * Move other test file to correct location. * Revert unintended changes from merge. * Revert unintended changes from merge. * update mock core * combine wrappers into one custom render function * Move mock helpers to helper file. Update snapshots. * Refactor tests to use RTL over enzyme. * Refactor \`PingHistogram\` component tests to prefer RTL to Enzyme. * Drop obsolete snapshot file. * Remove obsolete file leftover from merge error. * Fix outdated import path. * Prefer custom render to vanilla. * Fix formatting issue uncovered by unit test, and update test assertion. * Add test for single location. Co-authored-by: Dominique Clarke <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
- Loading branch information