http protocol is hardcoded in karma.js here at the moment. This means that Karma does not work in an environment where http is not used (only https).
Karma can check window.location.protocol instead, which will allow to run it in https-only environments.
httpprotocol is hardcoded in karma.js here at the moment. This means that Karma does not work in an environment wherehttpis not used (onlyhttps).Karma can check
window.location.protocolinstead, which will allow to run it inhttps-only environments.