We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When generating a new app with the --routing option enabled, app.component.spec.ts needs to be modified for tests to pass:
--routing
app.component.spec.ts
import { RouterTestingModule } from '@angular/router/testing'; ... beforeEach( async(() => { TestBed.configureTestingModule({ imports: [RouterTestingModule], declarations: [AppComponent] }).compileComponents(); }) );
The text was updated successfully, but these errors were encountered:
fix(schematics): --routing should add RouterTestingModule in app.comp…
47b0c30
…onent.spec.ts Closes #95
d7fc5b5
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
Sorry, something went wrong.
vsavkin
Successfully merging a pull request may close this issue.
When generating a new app with the
--routing
option enabled,app.component.spec.ts
needs to be modified for tests to pass:The text was updated successfully, but these errors were encountered: