What is your general structure/philosophy for folders in regards to testing (react/jest/meteor/apollo)

#1

For components, where are you storing your tests? I’m looking for some alternatives. I typically use folders with index.js files for components. So I get something like this:

- imports
-- ui
--- components
---- common
----- Button
------ index.js
------ Button.test.js
#2

That is what we do, but probably want to change ui to client so only client rebuilds on code changes.

2 Likes