0.2.1 • Published 7 years ago
html-loader-jest v0.2.1
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": {
"^.+\\.html?$": "html-loader-jest"
},
@TODO: Support .pug files @TODO: Add tests and TRAVIS CI