We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f3c2de commit 53b01bcCopy full SHA for 53b01bc
src/lib/grid-list/grid-list.spec.ts
@@ -23,9 +23,10 @@ describe('MatGridList', () => {
23
});
24
25
it('should throw error if rowHeight ratio is invalid', () => {
26
- const fixture = createComponent(GridListWithInvalidRowHeightRatio);
27
-
28
- expect(() => fixture.detectChanges()).toThrowError(/invalid ratio given for row-height/);
+ expect(() => {
+ const fixture = createComponent(GridListWithInvalidRowHeightRatio);
+ fixture.detectChanges();
29
+ }).toThrowError(/invalid ratio given for row-height/);
30
31
32
it('should throw error if tile colspan is wider than total cols', () => {
0 commit comments