API Reference@grafana/data › observableTester

observableTester variable

observableTester variable

Signature

observableTester: () => {
    subscribeAndExpectOnNext: <T>({ observable, expect, done }: SubscribeAndExpectOnNext<T>) => void;
    subscribeAndExpectOnComplete: <T_1>({ observable, expect, done }: SubscribeAndExpectOnComplete<T_1>) => void;
    subscribeAndExpectOnNextAndComplete: <T_2>({ observable, expectOnComplete, expectOnNext, done, }: SubscribeAndExpectOnNextAndComplete<T_2>) => void;
    subscribeAndExpectOnError: <T_3>({ observable, expect, done }: SubscribeAndExpectOnError<T_3>) => void;
}

Import

import { observableTester } from '@grafana/data';