diff --git a/src/operators/operators.tests.ts b/src/operators/operators.tests.ts index 4f5fac8b..2d353b86 100644 --- a/src/operators/operators.tests.ts +++ b/src/operators/operators.tests.ts @@ -1,11 +1,16 @@ import { equal, deepEqual } from 'assert'; -import { of, OperatorFunction } from 'rxjs'; +import { of, OperatorFunction, Scheduler } from 'rxjs'; import { reduce } from 'rxjs/operators'; +import { TestScheduler } from 'rxjs/testing'; import { ActionWithPayload, ActionWithoutPayload } from 'rxbeach'; import { extractPayload, ofType } from 'rxbeach/operators'; import { mockAction } from 'rxbeach/internal'; import { withNamespace } from './operators'; +const testScheduler = new TestScheduler((actual, expected) => { + deepEqual(actual, expected); +}); + const pipeActionWithPayload =
(
payload: P,
pipe: OperatorFunction