karma-jspm icon indicating copy to clipboard operation
karma-jspm copied to clipboard

Console warning not necessary

Open crstffr opened this issue 7 years ago • 1 comments

When using jspm 0.17 beta and karma-jspm 2.2.3, I get the following console warning when running my tests:

No system-polyfills present. If the browser does not support Promises, you may need to load a polyfill with jspm.beforeFiles

https://github.com/computmaxer/karma-jspm/blob/9fe4c7e61c5bebcfe0f5db64281abda1f0c8b381/src/init.js#L128

I have the babel-polyfill loading in my beforeFiles, therefore this warning is unnecessary.

Is it possible to trigger a Karma info message (instead of a console.warn) so that I can hide the message using the Karma logLevel config option?

crstffr avatar Apr 26 '17 17:04 crstffr

@crstffr you are right. This should be resolved. logLevel good idea!

SerkanSipahi avatar May 01 '17 13:05 SerkanSipahi