Awesome
jest-less-loader
Jest transformer to run
.less
file in jest-electron or in node env.
Usage
- Install
$ npm i --save-dev jest-less-loader
- Configure
Update your jest configure, and add it into transform.
+ "transform": {
+ "\\.(less|css)$": "jest-less-loader"
+ },
License
MIT@hustcc.