You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if additional Jest config is needed, add the capability for simple config extension managed from either App root or specific to App sides (e.g. web/, api/, etc.).
From @RobertBroersma Option 1: a simple near-term solution is to document
Atm you could extend the config by directly importing the jest config from core and merging it with your local jest config, however this is Currently undocumented
Option 2: improved solution
I'm thinking along the way of exposing the Redwood jest config(s) as a function that you could call. Something like:
About targeting different sides; I thought it could be good to use Jest's [projects](Jest --config extensibility) config instead of running all sides in the command, so we offload more stuff to the Jest side, and new sides with their own jest.configs are automatically picked up!
related to #502
original conversation here in #521
Goal:
From @RobertBroersma
Option 1: a simple near-term solution is to document
Option 2: improved solution
Targeting Sides (TBD)
Add Jest Watch (TODO)
The text was updated successfully, but these errors were encountered: