Integration of html-loader package with Jest 28+
npm install jest-html-loaderhtml-loader plugin for Jest v28+
An alternative to html-loader-jest that only works until Jest 27
```
npm install --save-dev jest-html-loader
Define jest-html-loader 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:
`json``
"transform": {
"^.+\\.html?$": "jest-html-loader"
},