Skip to content

Commit

Permalink
Merge pull request emilybache#88 from mobmentalityshow/main
Browse files Browse the repository at this point in the history
t - fix type issue in tests so ng t can run
  • Loading branch information
emilybache authored Mar 11, 2022
2 parents 755b802 + d4c7308 commit 425659f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion angular/src/test/tennisTester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class TennisComponentTester {

private setupDeBouncerMock() {
this.deBouncer = this.fixture.debugElement.injector.get(DeBouncer);
this.deBouncer = smartSpyOn(this.deBouncer, this.deBouncer.debounceTime).and.callFake(dueTime => {
smartSpyOn(this.deBouncer, this.deBouncer.debounceTime).and.callFake(dueTime => {
this.debounceDueTimesSent.push(dueTime);
return debounceTime(0);
});
Expand Down

0 comments on commit 425659f

Please sign in to comment.