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

feat: use Sinon.JS in integration tests #818

Merged
merged 3 commits into from
Nov 21, 2023
Merged

feat: use Sinon.JS in integration tests #818

merged 3 commits into from
Nov 21, 2023

Conversation

vscav
Copy link
Member

@vscav vscav commented Nov 21, 2023

In this PR, we install and set up sinon to use in our integration tests, and create spies for the update function passed to the PhoneInput component. It also allows us to fix a failing ember-canary job (temporarily, as unstable by definition).

@vscav vscav added the enhancement New feature or request label Nov 21, 2023
@vscav vscav self-assigned this Nov 21, 2023
@vscav vscav changed the title Use sinon js feat: use Sinon.JS in integration tests Nov 21, 2023
@vscav vscav marked this pull request as ready for review November 21, 2023 13:55
@vscav vscav merged commit 52cf3e6 into master Nov 21, 2023
14 checks passed
@vscav vscav deleted the use-sinon-js branch November 21, 2023 14:27
@mrloop
Copy link
Member

mrloop commented Nov 21, 2023

If we're passing in an update function why do we need sinon? It's introducing another dependency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants