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
govuk_publishing_components-17.8.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.7.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.6.1 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.6.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.5.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.4.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.3.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.2.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.1.1 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.1.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-17.0.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-16.29.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-16.28.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-16.27.1 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-16.27.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-16.26.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-16.25.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-16.24.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-16.23.0 node_modules/rxjs/testing/TestScheduler.d.ts
govuk_publishing_components-16.22.0 node_modules/rxjs/testing/TestScheduler.d.ts