Currently JSTP prints a warning about using Math.random() to browser
console unless the browser supports Web Crypto API. However, the
purpose of this warning isn't clear since it is not actionable and
provides zero value for end users. Although an extra warning message
that users won't probably see anyway isn't a big issue, it becomes
unnecessary noisy in fake browser environment used for tests (in
particular, I get two warnings for each Jest test case, i.e., about two
thirds of all output).
Currently JSTP prints a warning about using Math.random() to browser console unless the browser supports Web Crypto API. However, the purpose of this warning isn't clear since it is not actionable and provides zero value for end users. Although an extra warning message that users won't probably see anyway isn't a big issue, it becomes unnecessary noisy in fake browser environment used for tests (in particular, I get two warnings for each Jest test case, i.e., about two thirds of all output).