-
-
Notifications
You must be signed in to change notification settings - Fork 144
Open
Labels
Description
It would be nice if we could snapshot style rules, instead of explicitly asserting on them in tests.
e.g. instead of:
expect(component).toHaveStyleRule("transition", "height 50ms ease-out, opacity 50ms ease-out 50ms, transform 50ms ease-out 50ms;");
we could do something like (API up for discussion):
expect(component.getStyleRule("transition")).toMatchSnapshot();
john-d-pelingo, stphnlngdncoding, vctormb, AbhiPrasad and MichalLytek