Hmm, although I’m not sure if html
is valid, the “…Unknown option…” has me scratching my head. Maybe there’s some kind of collision happening in the case of collectCoverageFrom
. Not so sure about coverageReporters
. Here’s the base config:
To be clear, you should be able to modify jest.config.js
As you can see, under the hood there’s a lot of custom Jest config across Web and API. The advantages are that you get up and running immediately. The disadvantage is that config customization is cumbersome and sometime Jest CLI options are unintentionally not supported with the Redwood command.
Here’s the code for the rw test
command itself. Maybe there’s something missing from the command itself (e.g. option not correctly passed)?
Regarding the challenges of customizing config, here are a couple links: