refactor(ivy): ensure StylingDebug instances provide context debug info (#32753)

This patch enables a styling debug instance (which is apart of the
`debugNode.styles` or `debugNode.classes` data structures) to expose
its context value so that it can be easily debugged.

PR Close #32753
This commit is contained in:
Matias Niemelä
2019-09-17 15:43:17 -07:00
committed by Andrew Kushnir
parent 52552b0520
commit f8f7c1540a
3 changed files with 115 additions and 85 deletions

View File

@ -822,7 +822,7 @@ describe('styling', () => {
const node = getDebugNode(element) !;
const styles = node.styles !;
const config = styles.config;
const config = styles.context.config;
expect(config.hasCollisions).toBeFalsy();
expect(config.hasMapBindings).toBeFalsy();
expect(config.hasPropBindings).toBeTruthy();