-
Notifications
You must be signed in to change notification settings - Fork 409
[Angular] Fix path passing #1366
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
[Angular] Fix path passing #1366
Conversation
eneufeld
commented
May 10, 2019
- remember path as propsPath
- use propsPath when passing
* remember path as propsPath * use propsPath when passing
@eneufeld Build is failing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change works fine, thanks. I've left some comments regarding testing.
@@ -32,11 +32,13 @@ import { | |||
MatFormFieldModule, | |||
MatInputModule | |||
} from '@angular/material'; | |||
import { BrowserDynamicTestingModule } from '@angular/platform-browser-dynamic/testing'; | |||
import { MockNgRedux } from '@angular-redux/store/lib/testing'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be imported from @angular-redux/store/testing
entryComponents: [ | ||
TextControlRenderer, | ||
VerticalLayoutRenderer, | ||
GroupLayoutRenderer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have an assert condition that is explicit about the change? It seems rather funny to me that adding the GroupLayoutRenderer fixes the issue. Maybe we could check whether the renderered result contains a Group/Card component?