diegohaz/generact

react-slingshot

diegohaz opened this issue · 0 comments

Some boilerplates, such as react-slingshot and electron-react-boilerplate, have flat structure like the following:

components
├── AboutPage.js
├── AboutPage.spec.js
├── App.js
├── FuelSavingsForm.js
├── FuelSavingsForm.spec.js
├── FuelSavingsResults.js
├── FuelSavingsResults.spec.js
├── FuelSavingsTextInput.js
├── FuelSavingsTextInput.spec.js
├── HomePage.js
├── NotFoundPage.js
└── Root.js

generact can find component files, but it doesn't replicate .spec ones together. We need to cover this case.

It also happens with create-react-app, for App.js, App.css and App.test.js. Currently, we only replicate App.js.