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 tests to pull out the mountMockedProvider functions #487

Merged

Conversation

aonomike
Copy link
Collaborator

What does this PR do?

  • Create a separate file to contain the mountMockedProvider function which is re-used in a number of tests, making it generic

Description of Task to be completed?

Refactoring to pull out a reused function

How should this be manually tested?

  1. On terminal, run command ...

yarn test

What are the relevant Github Issues ?

Fixes #482

Screenshots (If applicable)

Co-authored-by: Riccardo Giomi contact@riccardogiomi.com

- Create a separate file to contain the mountMockedProvider function which is re-used in a number of tests, making it generic

Co-authored-by: Riccardo Giomi <contact@riccardogiomi.com>
Copy link
Collaborator

@riccardo-giomi riccardo-giomi left a comment

Choose a reason for hiding this comment

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

Checked and tested with Mike Aono, looks good.

@riccardo-giomi riccardo-giomi merged commit b7fe284 into AgileVentures:develop Apr 25, 2020
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.

Refactor create test helper file for reuse of code
2 participants