Closed agubler closed 4 years ago
The problem doesn't occur with a dev install of framework (i.e., what you get by running npm install
in framework), which uses handlebars 4.5.3. However, it does occur if you're using handlebars 4.7.2, which is what users of framework would probably end up with.
This is due to an intentional change to handlebars in 4.6 (https://github.com/wycats/handlebars.js/issues/1642). It's not an issue for Intern 5 since it's using istanbul-reports@2, which dropped handlebars. However, we'll either need to pin handlebars for Intern 4.x, or see if Istanbul-reports@2 will work without too much of an overhaul.
This should also be updated in Intern 4.8 and 4.x. We can backport it as necessary.
4.8 and 4.x have been updated.
Expected behavior
The HTML report to be output correctly and no handlebar wanrings printed to the terminal
Current behavior
The HTML report is empty and handlebars warnings are printed to the terminal
Possible solution
Possibly update dependency that uses handlebars?
Steps to reproduce (for bugs)
coverage/html-report/index.html
Environment
Intern version: 4.3.5 Node version: 12.13.1 NPM version: 6.12.1 Browser version: N/A
Additional information
N/A