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: improve unit tests feedback loop by making them asynchronous #241

Merged
merged 1 commit into from Jan 13, 2024

Conversation

onigoetz
Copy link
Contributor

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

When contributing on #237 and #238, when a test failed it had to reach the timeout to display the error.
Using async/await makes it so that when a test fails, the error is printed immediately.

This reduces the feedback loop and makes it easier to make changes.

The downside is that it hides the webpack API behind an indirection layer.
I'll let you judge if this is something you want to have or not.

Breaking Changes

N/A

Additional Info

@ricardogobbosouza ricardogobbosouza merged commit 5ca18dc into webpack-contrib:master Jan 13, 2024
15 checks passed
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.

None yet

3 participants