Is there a way to make bs-config.json
honor the Jest style directories?
Meaning that any subdirectory that begins with __tests__
to only be compiled with dev dependencies.
For eample if your directories look like this:
src/components
├── App
│ ├── App.re
│ ├── AppContainer.re
│ └── __tests__
│ └── AppTest.re
├── Aux
│ ├── Aux.re
│ └── __tests__
│ └── AuxTest.re
Only stuff under __tests__
(AuxTest.re and AppTest.re) would be compiled as “dev”, the rest would be normal. So far looking at the config it doesn’t seem this is possible. I would like to have my tests to my code if possible (nice to have).