Because bs-jest is still WIP and experimental, it can be very convenient to write unit tests in JavaScript. But currently it's not possible without ejecting because it's impossible to modify the testMatch parameter of Jest config (in package.json), or react-scripts complains when launching tests.
I think it would be great if default testMatch parameter of Jest config included both *test.re* and *test.js to allow writing tests in JavaScript.
Because bs-jest is still WIP and experimental, it can be very convenient to write unit tests in JavaScript. But currently it's not possible without ejecting because it's impossible to modify the
testMatch
parameter of Jest config (in package.json), or react-scripts complains when launching tests.I think it would be great if default
testMatch
parameter of Jest config included both*test.re*
and*test.js
to allow writing tests in JavaScript.