From the documentation here, it looks like I should be able to add the following to my jest config extensionsToTreatAsEsm: [".js", ".mjs"],. But when I run I get
Unknown option "extensionsToTreatAsEsm" with value [".js", ".mjs"] was found.
This is probably a typing mistake. Fixing it will remove this message.
I am on latest so what am I missing?