Sha256: 9b160b89431d10275f3165734483cde3fb078797c6500c3137deacf00727a1a4

Contents?: true

Size: 1.51 KB

Versions: 49

Compression:

Stored size: 1.51 KB

Contents

import { Observable } from '../Observable';
import { ColdObservable } from './ColdObservable';
import { HotObservable } from './HotObservable';
import { TestMessage } from './TestMessage';
import { SubscriptionLog } from './SubscriptionLog';
import { VirtualTimeScheduler } from '../scheduler/VirtualTimeScheduler';
export declare type observableToBeFn = (marbles: string, values?: any, errorValue?: any) => void;
export declare type subscriptionLogsToBeFn = (marbles: string | string[]) => void;
export declare class TestScheduler extends VirtualTimeScheduler {
    assertDeepEqual: (actual: any, expected: any) => boolean | void;
    private hotObservables;
    private coldObservables;
    private flushTests;
    constructor(assertDeepEqual: (actual: any, expected: any) => boolean | void);
    createTime(marbles: string): number;
    createColdObservable<T>(marbles: string, values?: any, error?: any): ColdObservable<T>;
    createHotObservable<T>(marbles: string, values?: any, error?: any): HotObservable<T>;
    private materializeInnerObservable(observable, outerFrame);
    expectObservable(observable: Observable<any>, unsubscriptionMarbles?: string): ({
        toBe: observableToBeFn;
    });
    expectSubscriptions(actualSubscriptionLogs: SubscriptionLog[]): ({
        toBe: subscriptionLogsToBeFn;
    });
    flush(): void;
    static parseMarblesAsSubscriptions(marbles: string): SubscriptionLog;
    static parseMarbles(marbles: string, values?: any, errorValue?: any, materializeInnerObservables?: boolean): TestMessage[];
}

Version data entries

49 entries across 49 versions & 4 rubygems

Version Path
ilog-0.4.1 node_modules/rxjs/testing/TestScheduler.d.ts
ilog-0.4.0 node_modules/rxjs/testing/TestScheduler.d.ts
ilog-0.3.3 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-18.0.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.21.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.20.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.19.1 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.19.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.18.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.17.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.16.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.15.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.14.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.13.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.12.2 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.12.1 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.12.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.11.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.10.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.9.0 node_modules/rxjs/testing/TestScheduler.d.ts