(element: HTMLElement, prop: string, value: any)
| 4049 | }); |
| 4050 | |
| 4051 | function assertStyle(element: HTMLElement, prop: string, value: any) { |
| 4052 | expect((element.style as any)[prop]).toEqual(value); |
| 4053 | } |
| 4054 | |
| 4055 | function expectStyle(element: HTMLElement) { |
| 4056 | return expect(getElementStyles(element)); |