It seems that having removed HTML imports in Chrome 80 breaks things involving fetching HTML files via <link href="%s.html" rel="import"> style imports. It appears that the files are still fetched, but they are no longer executed, leaving karma to show 0 tests being run in my setup. Using Chrome 79 and below works fine.
More details at
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/h-JwMiPUnuU/discussion
https://www.chromestatus.com/feature/5144752345317376
https://bugs.chromium.org/p/chromium/issues/detail?id=240592
Until a fix can be applied, you can add a custom launcher that adds the --enable-blink-features=HTMLImports flag to allow HTML imports again.
For anyone stuck with this one, we have managed to run our specs using a Chromium binary.
/Users/theo/Downloads/chrome-mac/CHROME_BIN=/Users/theo/Downloads/chrome-mac/Chromium.app/Contents/MacOS/Chromium yarn test What do you guys expect Karma to do about it?
This feature has been removed from the only browser where it was supported and HTML Imports feature is obsolete. So the best we can do is to add a notice to the documentation that it does not work in the latest browsers.
Depending on your use case you may try setting type to dom to inline the imported files, setting the flag or adding a polyfill for HTLM imports.
:tada: This issue has been resolved in version 5.2.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Most helpful comment
For anyone stuck with this one, we have managed to run our specs using a Chromium binary.
/Users/theo/Downloads/chrome-mac/CHROME_BIN=/Users/theo/Downloads/chrome-mac/Chromium.app/Contents/MacOS/Chromium yarn test