Skip to content

Conversation

@dgieselaar
Copy link
Member

Backports the following commits to 7.x:

* [APM] Fix some warnings logged in APM tests

(Seemingly) since the React upgrade in 439708a, our tests have started logging various warnings/errors to the console. The test suite is still passing but it creates a lot of noise.

Changes:

- use `act` or `wait` when appropriate
- mock useFetcher calls
- cleanup in useDelayedVisbility

* Replace tick() with wait()
@dgieselaar dgieselaar added the backport This PR is a backport of another PR label Dec 18, 2019
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

@elastic elastic deleted a comment from elasticmachine Dec 24, 2019
@dgieselaar dgieselaar merged commit 4163d7a into elastic:7.x Dec 24, 2019
@dgieselaar dgieselaar deleted the backport/7.x/pr-52487 branch December 24, 2019 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants