Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Jest is killing people with OCD...
I don't know much about jest but I'd guess this environment file is ran by the test-runner directly, before your tests, in node. It isn't transpiled nor used in a transpiled form.
Node doesn't know import.