bit-bin
Version:
<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b
14 lines (13 loc) • 529 B
TypeScript
import { Graph } from 'graphlib';
import { ReplaySubject } from 'rxjs';
import { ExecutionOptions } from '../network/options';
import { Consumer } from '../../../consumer';
export declare type GraphTestCase = {
graph: {
[id: string]: string[];
};
input: string[];
options: ExecutionOptions;
};
export declare function createTestNetworkStream(testCase: GraphTestCase): Promise<ReplaySubject<any>>;
export declare function createGetGraphFn(testCase: GraphTestCase): (_consumer: Consumer) => Promise<Graph>;