Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(tests): async await instead of setTimeout #496

Merged

Conversation

justinmchase
Copy link
Contributor

added a util/wait function and modified a test to use that instead of setTimeout.

This change is extracted from PR #495

lib/util.js Outdated Show resolved Hide resolved
lib/util.js Outdated Show resolved Hide resolved
CHANGELOG.md Outdated
@@ -27,13 +27,18 @@ project adheres to [Semantic Versioning](http://semver.org/).

- The `processResources` metric was added, which keeps a track of all sorts of
active resources. It consists of the following gauges:

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't add this line, for some reason the commit hook is adding it.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably prettier thinking the newline is... prettier 😀

Copy link
Collaborator

@SimenB SimenB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@SimenB SimenB changed the title async await instead of setTimeout chore(tests): async await instead of setTimeout Feb 27, 2022
@SimenB SimenB merged commit 721829c into siimon:master Feb 27, 2022
@justinmchase justinmchase deleted the feature/event-loop-test-adjustments branch February 28, 2022 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants