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

fix(components/image): fix unit test spys #267

Merged
merged 1 commit into from
Jun 12, 2024
Merged

Conversation

dominicegginton
Copy link
Collaborator

@dominicegginton dominicegginton commented Jun 12, 2024

Sometimes unit test that have sinon.spy defined as a const fail and I'm not sure why

moving all spys over to a let and reassigning a new spy in the unit tests beforeEeach hook seems to fix the problem

@dominicegginton dominicegginton self-assigned this Jun 12, 2024
@dominicegginton dominicegginton merged commit 189314e into main Jun 12, 2024
3 checks passed
@dominicegginton dominicegginton deleted the fix-image-unit-test branch June 12, 2024 14:19
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.

1 participant