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

🧪 Remove IS_TEST from the codebase #48

Merged
merged 1 commit into from
Jan 19, 2020
Merged

🧪 Remove IS_TEST from the codebase #48

merged 1 commit into from
Jan 19, 2020

Conversation

sebranly
Copy link
Owner

@sebranly sebranly commented Jan 19, 2020

Overview

Previously, I had to use a workaround in order to ignore <Icon /> component in tests.
Now, this component is not ignored anymore in tests, and useless code is removed entirely.

Testing

  • npm run test should be ✅
  • App should be available on a real device (iPhone) after running npm run start

Additional information

@sebranly sebranly added wip This PR is work in progress and removed wip This PR is work in progress labels Jan 19, 2020
@sebranly sebranly merged commit fa6bdeb into master Jan 19, 2020
@sebranly sebranly deleted the fix-is-test branch January 19, 2020 23:20
Comment on lines -4 to -6
transform: {
"\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
},
Copy link
Owner Author

Choose a reason for hiding this comment

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

This was the key point of this PR

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.

1 participant