Skip to content

Commit

Permalink
Successfully gets build to pass!
Browse files Browse the repository at this point in the history
+ The issue: Our jest runner for our tests does not play nice with the react-native-vector-icons Icon object on the build machine. So we override the Icon constructor post-installation like this thread explains:

GeekyAnts/NativeBase#2657

Worth noting: locally, everything worked fine. The issue was specific to the build machine, as far as I could assess.
  • Loading branch information
chelseatroy committed Jul 16, 2020
1 parent fb125c3 commit 8b21a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ node_js:
install:
- npm install
- npm install react-native-vector-icons --save
- react-native link react-native-vector-icons
- sed -i -- 's/class Icon extends PureComponent {/class Icon extends PureComponent {constructor(props) { super(props) }/g' node_modules/react-native-vector-icons/lib/create-icon-set.js

0 comments on commit 8b21a9a

Please sign in to comment.