-
Notifications
You must be signed in to change notification settings - Fork 112
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
require
d JSON breaks test
#45
Comments
I saw c4b9571 now, and following the comments were able to load the JSON with the preprocessor. Unfortunately, it seems like the preprocessor adds a field |
I'm removing the stuff I added in c4b9571, it was a bad idea... You'll be able to load the JSON without a special preprocessor, and the extra |
Ok. Final request though: It would be nice if it was possible to load JSON data from files whose filename does not have the |
Hmm. Nevermind the last one, as it seems that the normal |
Your test project works now with the latest from master, note that I've removed the JSON preprocessor, requiring JSON works automatically now! |
Thanks! Works well, also in my full project. Eagerly awaiting 2.1.5 👍 |
Having a line like
will give an error during testing:
See test repo: https://github.com/vidartf/karma-ts-test/tree/json
Travis showing error: https://travis-ci.org/vidartf/karma-ts-test/jobs/182115047
Appveyor showing other error: https://ci.appveyor.com/project/vidartf/karma-ts-test/build/job/nbrb4s84k4ap2nta
The text was updated successfully, but these errors were encountered: