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

Remove values mock from test #82

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Remove values mock from test #82

merged 1 commit into from
Sep 10, 2024

Conversation

nicknovitski
Copy link
Member

It's easy for this mock to fall out of sync with the actual module, and solutions which would prevent this would be verbose and cluttered. The only thing it achieves is keeping the tests fast with a lower retry timeout, and that can also be achieved with a switch on NODE_ENV.

@nicknovitski nicknovitski requested review from a team and vonovak and removed request for a team September 10, 2024 20:23
@nicknovitski nicknovitski marked this pull request as draft September 10, 2024 20:23
It's easy for this mock to fall out of sync with the actual module, and
solutions which would prevent this would be verbose and cluttered.
The only thing it achieves is keeping the tests fast with a lower retry
timeout, and that can also be achieved with a switch on NODE_ENV.
@nicknovitski nicknovitski marked this pull request as ready for review September 10, 2024 20:25
@nicknovitski nicknovitski merged commit 752278d into main Sep 10, 2024
3 checks passed
@nicknovitski nicknovitski deleted the no-module-mock branch September 10, 2024 20:33
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