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

Adds test #15

Merged
merged 4 commits into from
Jan 5, 2017
Merged

Adds test #15

merged 4 commits into from
Jan 5, 2017

Conversation

bdougie
Copy link
Contributor

@bdougie bdougie commented Jan 4, 2017

This is a few commits to add the first test to the project, we can chat about it tomorrow.

I did have to create a test/setup.js file because of react-native-router-flux not respecting the react-native-mock library. This seems like a good opportunity to get an open source contribution.

facebook/react-native#11585

We can talk more about this IRL

it('renders without crashing', () => {
const wrapper = shallow (<List vendor={dummyVendor} />);
expect(wrapper).toExist;
});
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the test, let me know if you have any questions

@bdougie
Copy link
Contributor Author

bdougie commented Jan 4, 2017

@americool sorry this took so long. I kept trying to rebase and getting distracted by something else at work. This is now mergeable, go ahead and review and then merge here.

Also write identical tests for all components in src and let me know if you have questions.

@americool americool merged commit f39acb3 into master Jan 5, 2017
@americool americool deleted the adds-test branch January 10, 2017 02:26
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