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

adding tests for server side rendering #69

Merged
merged 1 commit into from
Aug 31, 2017
Merged

adding tests for server side rendering #69

merged 1 commit into from
Aug 31, 2017

Conversation

alexreardon
Copy link
Collaborator

@romellogood recently added a change #65 that enabled server side rendering to work correctly. This pull request builds on that and adds some tests to ensure that we do not accidentally break server side rendering going forward.

@alexreardon alexreardon self-assigned this Aug 31, 2017
@alexreardon alexreardon requested a review from jaredcrowe August 31, 2017 22:26
@@ -0,0 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

first snapshot test!

@@ -0,0 +1,59 @@
/**
* @jest-environment node
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

finding out that jest did this was amazing

@alexreardon alexreardon merged commit 4595ef1 into master Aug 31, 2017
@alexreardon alexreardon deleted the ssr-tests branch August 31, 2017 23:56
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