refactor(ivy): ensure StylingDebug
instances provide context debug info (#32856)
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 #32856
This commit is contained in:

committed by
Miško Hevery

parent
728cd8446f
commit
35a95a8a7e
@ -863,7 +863,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();
|
||||
|
Reference in New Issue
Block a user