Open enjoythelive1 opened 6 years ago
https://github.com/kitze/custom-react-scripts/blob/dea4a2ba0c422333e75114c63158ae2af8cbce3c/packages/react-scripts/scripts/utils/createJestConfig.js#L39
Jest is not customized, when the tests run, it mocks the CSS files with {} but SASS, LESS nor STYLUS is mocked. It would require a lot of changes anyway.
{}
https://github.com/kitze/custom-react-scripts/blob/dea4a2ba0c422333e75114c63158ae2af8cbce3c/packages/react-scripts/scripts/utils/createJestConfig.js#L39
Jest is not customized, when the tests run, it mocks the CSS files with
{}
but SASS, LESS nor STYLUS is mocked. It would require a lot of changes anyway.