mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore(autosize): fix test name in autosize spec (#9941)
This commit is contained in:
committed by
Jeremy Elbourn
parent
8ff51aeb97
commit
0e11849272
@@ -84,7 +84,7 @@ describe('MatTextareaAutosize', () => {
|
||||
.toBe(textarea.scrollHeight, 'Expected textarea height to match its scrollHeight');
|
||||
});
|
||||
|
||||
it('should set a min-width based on minRows', () => {
|
||||
it('should set a min-height based on minRows', () => {
|
||||
expect(textarea.style.minHeight).toBeFalsy();
|
||||
|
||||
fixture.componentInstance.minRows = 4;
|
||||
@@ -100,7 +100,7 @@ describe('MatTextareaAutosize', () => {
|
||||
.toBeGreaterThan(previousMinHeight, 'Expected increased min-height with minRows increase.');
|
||||
});
|
||||
|
||||
it('should set a max-width based on maxRows', () => {
|
||||
it('should set a max-height based on maxRows', () => {
|
||||
expect(textarea.style.maxHeight).toBeFalsy();
|
||||
|
||||
fixture.componentInstance.maxRows = 4;
|
||||
|
||||
Reference in New Issue
Block a user