-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Test compilation errors do not fail karma tasks #780
Comments
Same goes for tsc errors in examples via
|
i'm down for webpack 2 upgrade. i actually did that locally last week as part of the unpkg work but then realized webpack 1 supported what i was trying to do. |
I can't seem to upgrade to webpack2. Getting this error from ts-loader:
|
I had the problem and resolved it by adding
to my tsconfig.json It doesn't fail the individual test but the whole thing fails which I think is better than a silent failure. |
oof i wish it were that simple but there seems to be an issue with actually loading
suggests some package is expecting an ES6 default export and not finding one. |
Discovered in #775 (comment)
Current compilation failures are fixed in #779, but we need to fix the build system to fail on
tsc
errors. I tried to get this working using solutions from TypeStrong/ts-loader#108 but did not succeed. A quick and dirty fix would be to runtsc -p packages/<name>/test
commands in the verify script or ingulp check
. Or we could try upgrading to webpack 2 (shouldn't be too hard; I just did it on another project).The text was updated successfully, but these errors were encountered: