I am looking for a way to disable the insecure origin warning when running my test suite (Jest on Node.js).
console.warn node_modules/asmcrypto.js/asmcrypto.js:5
asmCrypto seems to be load from an insecure origin; this may cause to MitM-attack vulnerability. Consider using secure transport protocol.
In that case global.location.protocol is set to about:.
Any thoughts ?
Hi,
I am looking for a way to disable the insecure origin warning when running my test suite (Jest on Node.js).
In that case
global.location.protocol
is set toabout:
. Any thoughts ?Thanks !