FACN1 / PAS-MVP

Park and Sleep helps tourists navigate unconventional cities. Prototype:
https://xd.adobe.com/view/6572db59-ff24-4c55-9db7-3142e15141e5/
3 stars 0 forks source link

Set up React testing with tape and enzyme ref #14 #18

Closed philawsophizing closed 7 years ago

philawsophizing commented 7 years ago

@esraajb close #14

jbesraa commented 7 years ago

Naaice.

Maybe it will look better if you create a folder under tests, named client, and then a folder named components, and in there have a separate file for each component with his own tests.

You can create index file where you require all the tests and this index file will go here "test": "babel-node node_modules/.bin/tape tests/components.jsx | faucet", instead of components.jsx

@philawsophizing @Karyum

Karyum commented 7 years ago

@esraajb cheers thats how we will structure as we add more components