Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
rm fdescribe

change test description
  • Loading branch information
RogueTea committed May 17, 2024
1 parent 25915e7 commit 7ee46df
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/components/inputtextarea/inputtextarea.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { By } from '@angular/platform-browser';
import { InputTextarea } from './inputtextarea';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { Component, DebugElement } from '@angular/core';
import e from 'express';

@Component({
template: `<textarea rows="1" cols="1" (onResize)="onResize($event)" [autoResize]="autoResize" pInputTextarea></textarea> `
Expand All @@ -14,7 +13,7 @@ class TestInputTextArea {
onResize(event) {}
}

fdescribe('InputTextarea', () => {
describe('InputTextarea', () => {
let fixture: ComponentFixture<TestInputTextArea>;
let component: TestInputTextArea;
beforeEach(() => {
Expand Down Expand Up @@ -50,7 +49,7 @@ fdescribe('InputTextarea', () => {
expect(onResizeSpy).toHaveBeenCalledTimes(2);
});

it('should change autoResize and resize textarea', () => {
it('should change autoResize and resize scrollheight of textarea', () => {
component.autoResize = true;
fixture.detectChanges();

Expand Down

0 comments on commit 7ee46df

Please sign in to comment.