Fixed ng test failed tests, due to errors:#6
Open
alundiak wants to merge 1 commit intodidinj:masterfrom
alundiak:fixed-ng-test
Open
Fixed ng test failed tests, due to errors:#6alundiak wants to merge 1 commit intodidinj:masterfrom alundiak:fixed-ng-test
ng test failed tests, due to errors:#6alundiak wants to merge 1 commit intodidinj:masterfrom
alundiak:fixed-ng-test
Conversation
- "If 'router-outlet' is an Angular component, then verify that it is part of this module" - "If 'router-outlet' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas'" - "Error: StaticInjectorError(DynamicTestModule)[ApiService -> HttpClient]" - "StaticInjectorError(DynamicTestModule)[HttpClient -> HttpHandler]" - "Can't bind to 'routerLink' since it isn't a known property of 'a'" - "Can't bind to 'formGroup' since it isn't a known property of 'form'" - "Can't bind to 'errorStateMatcher' since it isn't a known property of 'input'" - "Can't bind to 'dataSource' since it isn't a known property of 'table'" - "Error: StaticInjectorError(DynamicTestModule)[RouterLinkWithHref -> Router]" - "No provider for ControlContainer" Those errors were faced during `ng test`, and fixed step by step for every it(). Code changes verified with: - Node v10.8.0, - npm v6.2.0, - Angular Core v6.0.2, - Angular Material v6.0.2, - Angular Forms v6.0.2 and - Angualr CLI v6.0.0 (also with globally installed Angular CLI 6.1.2)
Author
|
up :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Those errors were faced during
ng test, and fixed step by step for every it().Code changes verified with:
Related to issue #5