jest-preview
jest-preview copied to clipboard
For a CRA app after following the instructions I got "sass not found. please install sass and try again."
For a CRA app after following the instructions I got "sass not found. please install sass and try again."
Once I installed sass additionally it worked. But why was this required.
Environment (please complete the following information)
- Jest version: [e.g. 26.6.0]
Hi @Rohitbels
Thanks for reporting this. jest-preview
doesn't require sass
to work if your project doesn't contain .scss
or .sass
files. Does your project use sass? If not, can you check if you unintentionally import .scss
, .sass
file in the jest-preview
global CSS . Also, it would be great if you can provide a reproduction, it will help us debug easier.
Thanks.
Hey Sorry the issue was on our end. Closing