-
-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Description
Configuration doesn't work in PhpStorm.
My question on StackOverflow https://stackoverflow.com/questions/60521964/how-to-configure-jest-in-phpstorm-for-react-application-create-react-app-flavor
Duplicate it here.
When I specify jest config in a separate file, jest-environment-enzyme can't parse or see it or anything.
But it can see config if I specify it in package.json, but anyway it throws error
We detected setupFilesAfterEnv in your package.json.
Remove it from Jest configuration, and put the initialization code in src/setupTests.js.
This file will be loaded automatically.
My config in a file jest.config.js:
module.exports = {
"setupFilesAfterEnv": ["jest-enzyme"],
"testEnvironment": "enzyme",
"verbose": true,
};
AlexanderNMagic, hitonichi and sp-io
Metadata
Metadata
Assignees
Labels
No labels