Peter Tyldesley

Results 11 comments of Peter Tyldesley

I've created a pull request for this. Changed the text links to buttons and updated the specs. Not sure what's going on with the specs. They all pass on my...

Thanks for the feedback @nathanvda. I understand you completely now. That would make a lot more sense that way for sure. If you don't mind I'll have another stab at...

@nathanvda Do you think you can use this? I created separate methods for link_to and button_to. I updated the specs which are all passing on my machine.

@jxom Happy to take a crack at this if you'd like?

@Jank1310, that doesn't work for Jest tests, though. I have this at the top of my tests: ```js jest.mock('firebaseConfig', () => { const firebasemock = require('firebase-mock'); const mockauth = new...

@Jank1310 I'm doing integration testing with React, so I need to call `jest.mock` to mock out the module in my components. I found the solution, which is a variation of...

@Ryomasao I'm not sure how that's the same problem? Either way, the reason that's not working is because primitives are passed by value. What you want to do is increment...

@Juansasa do you have any examples of this? I can't see how a callback will help in this situation as we need the callback to be triggered once the field...

@smeijer This uses ISO 3166-1-alpha-2 codes. UK is not a [valid code](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes), it would be GB. You will have to manually change your data set.

I'm getting the same thing as @cobyism. I've got the latest version of yarn. Create a link in node_modules, navigate to app folder, yarn link [package_name], package disappears from node_modules....