This commit is contained in:
Jaco
2022-03-23 07:19:33 +02:00
committed by GitHub
parent 31e7de31f3
commit e573c26df3
6 changed files with 71 additions and 65 deletions
+3 -1
View File
@@ -14,7 +14,9 @@ describe('drr', (): void => {
it('should not fire twice the same value', (done): void => {
let count = 0;
const sub = of(1, 1).pipe(drr({ delay: 500 })).subscribe((): void => { ++count; });
const sub = of(1, 1).pipe(drr({ delay: 500 })).subscribe((): void => {
++count;
});
setTimeout((): void => {
expect(count).toBe(1);