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

fix(middleware): log invalid filetype #3292

Merged
merged 1 commit into from Apr 5, 2019

Conversation

johnjbarton
Copy link
Contributor

Fixes #3291

@johnjbarton johnjbarton requested a review from kyliau April 5, 2019 20:25
@johnjbarton johnjbarton merged commit 7eb48c5 into karma-runner:master Apr 5, 2019
@vort3xxx
Copy link

vort3xxx commented Apr 22, 2019

@johnjbarton, Thank you for taking a stab at this. I pulled down this change today and it still results in output that does not help the issue.

After this change, the new command line output appears like this:

WARN [middleware:karma]: Invalid file type (), defaulting to js.

Given the new output, I still cannot ascertain which file is actually offending Karma. It's a little more readable, as I assume it's some extension-less file.

@johnjbarton
Copy link
Contributor Author

You must have a file in your config that has no filetype extension.

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

Successfully merging this pull request may close these issues.

How to debug [middleware:karma]: Invalid file type, defaulting to js. statements.
3 participants