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

Refactor lib/__tests__/ignore.test.js #5281

Merged
merged 1 commit into from May 11, 2021
Merged

Conversation

ybiquitous
Copy link
Member

@ybiquitous ybiquitous commented May 11, 2021

This change aims to improve the test code readability via async/await syntax or Jest's matchers.
(avoiding callbacks as much possible)

See also https://jestjs.io/docs/asynchronous

Which issue, if any, is this issue related to?

A part of #4881

Is there anything in the PR that needs further explanation?

I think it easier to view the diff if using "Hide whitespace changes".

This change aims to improve the test code readability via async/await syntax or Jest's matchers.
(avoiding callbacks as much possible)

See also <https://jestjs.io/docs/asynchronous>
Copy link
Member

@jeddy3 jeddy3 left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@jeddy3 jeddy3 merged commit e63f1c7 into master May 11, 2021
@jeddy3 jeddy3 deleted the refactor-ignore.test.js branch May 11, 2021 13:53
@ybiquitous
Copy link
Member Author

@jeddy3 I appreciate your kind feedback and quick review. 🥰

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants