Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console warning not necessary #188

Open
crstffr opened this issue Apr 26, 2017 · 1 comment
Open

Console warning not necessary #188

crstffr opened this issue Apr 26, 2017 · 1 comment

Comments

@crstffr
Copy link

crstffr commented Apr 26, 2017

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

console.warn('No system-polyfills present. If the browser does not support Promises, you may need to load a polyfill with jspm.beforeFiles'); //eslint-disable-line no-console

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?

@SerkanSipahi
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants