Skip to content

Commit

Permalink
improvement(core): add mockClear
Browse files Browse the repository at this point in the history
  • Loading branch information
thediaval committed Nov 7, 2019
1 parent 4b19e5c commit 95f6262
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Directive, ElementRef, EventEmitter, Input, OnDestroy, OnInit, Output } from '@angular/core';
import { takeUntilDestroy } from '@ngx-validate/core';
import { fromEvent } from 'rxjs';
import { debounceTime, tap } from 'rxjs/operators';
import { debounceTime } from 'rxjs/operators';

@Directive({
// tslint:disable-next-line: directive-selector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ describe('InputEventDebounceDirective', () => {
});
directive = spectator.directive;
input = spectator.query('input');
inputEventFn.mockClear();
});

test('should be created', () => {
Expand Down

0 comments on commit 95f6262

Please sign in to comment.