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

chore: Add relay-test-utils lib #6414

Merged
merged 1 commit into from
Oct 6, 2020
Merged

chore: Add relay-test-utils lib #6414

merged 1 commit into from
Oct 6, 2020

Conversation

damassi
Copy link
Member

@damassi damassi commented Oct 5, 2020

This adds the new relay-test-utils package to force, and gives an example of how one would refactor an existing test (albeit without the automocking features).

}

beforeEach(() => {
env = createMockEnvironment()
Copy link
Member Author

Choose a reason for hiding this comment

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

Gotta remember to recreate the environment between each test!

@damassi damassi force-pushed the update-relay-test-tools branch from e08c574 to b2bd9fd Compare October 5, 2020 23:31
Copy link
Member

@dzucconi dzucconi left a comment

Choose a reason for hiding this comment

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

🙏

@dzucconi dzucconi merged commit 8ea2ad7 into master Oct 6, 2020
@artsy-peril artsy-peril bot mentioned this pull request Oct 6, 2020
@damassi damassi deleted the update-relay-test-tools branch October 6, 2020 01:47
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