webpack test jest code example
Example: jest to handle css
{
"jest":{
"moduleNameMapper": {
"\\.(css|less|scss|sass)$": "identity-obj-proxy"
},
}
}
{
"jest":{
"moduleNameMapper": {
"\\.(css|less|scss|sass)$": "identity-obj-proxy"
},
}
}