html-loader-jest
html-loader jest plugin
Install
npm install --save-dev html-loader-jest
Integration with jest
Define html-loader-jest
as a transformer for your html files included in your source files under test. In the "transform" key for jest configuration in the package.json
add the following:
"transform": ,
@TODO: Support .pug files @TODO: Add tests and TRAVIS CI