-
Notifications
You must be signed in to change notification settings - Fork 12k
ng build -prod and ng test --build false fails #1410
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
Comments
Closed as this issue was made obsolete by #1455. |
Hi @filipesilva and @francisoud , Sorry to ask question in the closed topic. I still face the same issue . My Karma window opens but I don't get the desired outcome.
|
@rukeshj please open a new issue with a detailed description of the problem you face. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I run a CI tool with the following command to build the final product:
ng build -prod
ng test --build false --watch false
build: false => because I want the optimized version to be deployed
watch: false because of issue #977
Logs:
karma-test-shim.js
lines 40 & 41 contains:System.import('@angular/core/testing'),
System.import('@angular/platform-browser-dynamic/testing')
But @angular is packaged in main.js with ng build -prod
Steps to reproduce
Version
The text was updated successfully, but these errors were encountered: