You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Check for accidental extraneous dependencies in end-to-end-tests #1720
This will get between the word dependencies and the closing bracket below the dependencies, i only need to check if every dependency is correct.
If you have any ideas how to do this let me know, i was thinking it could be possible to partly match each line to react
I've been a bit busy, @lpalmes -- sorry for not giving you a quicker response.
We can probably grep inverted what comes back from that, validating they're packages we want:
Thanks @Timer, i've enjoyed it and managed to meet lot of developers and companies, just what i was looking for 😄 , really great experience.
I've just sent the pull request to fix this. I've tried on my computer, and it worked quite nicely. I've added some random deps to package.json and confirmed that errors correctly.
Activity
lpalmes commentedon Mar 6, 2017
@gaearon @Timer,
I've been testing some awk commands a bit
This will get between the word dependencies and the closing bracket below the dependencies, i only need to check if every dependency is correct.
If you have any ideas how to do this let me know, i was thinking it could be possible to partly match each line to
reactTimer commentedon Mar 8, 2017
I've been a bit busy, @lpalmes -- sorry for not giving you a quicker response.
We can probably grep inverted what comes back from that, validating they're packages we want:
-vis invert match &-qis quiet -- we only care about the return code .Then just test to make sure the result of that is not 0, because 0 would mean it found something extraneous!
Timer commentedon Mar 14, 2017
@lpalmes Hi! How's everything going?
Would you like to finish this? 😄 If you're too short on time, that's alright too.
lpalmes commentedon Mar 14, 2017
I was traveling, got back yesterday, sorry for the absence.
I will add it today, i let you know otherwise today @Timer
Timer commentedon Mar 14, 2017
Sweet, thanks @lpalmes!
Hope you enjoyed your travels & were safe! 😄
lpalmes commentedon Mar 14, 2017
Thanks @Timer, i've enjoyed it and managed to meet lot of developers and companies, just what i was looking for 😄 , really great experience.
I've just sent the pull request to fix this. I've tried on my computer, and it worked quite nicely. I've added some random deps to package.json and confirmed that errors correctly.