You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[x] Documentation issue or request
[x] Support request
[x] Other... Please describe:
Current behavior
currently there are no examples on how to test more complex scenarios including observables, ngAfterViewInit in combination with detectChanges set to false
Expected behavior
I would like to see a few examples on how to test components that is created with detectChanges set to false.
What I want to test
I would like test that my grid component applies a filter that comes from query parameters. Here is a minimal reproduction of the component
This discussion was converted from issue #357 on January 28, 2021 05:08.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm submitting a...
Current behavior
currently there are no examples on how to test more complex scenarios including observables, ngAfterViewInit in combination with
detectChanges
set to falseExpected behavior
I would like to see a few examples on how to test components that is created with
detectChanges
set to false.What I want to test
I would like test that my grid component applies a filter that comes from query parameters. Here is a minimal reproduction of the component
and here is what I am trying to do inside my test:
So the flow of this components is like this:
Please let me know how I can test something like this.
Beta Was this translation helpful? Give feedback.
All reactions