Closed diegohaz closed 7 years ago
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.
generact
.spec
It also happens with create-react-app, for App.js, App.css and App.test.js. Currently, we only replicate App.js.
create-react-app
App.js
App.css
App.test.js
Some boilerplates, such as react-slingshot and electron-react-boilerplate, have flat structure like the following:
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
, forApp.js
,App.css
andApp.test.js
. Currently, we only replicateApp.js
.