fancy-test
Version:
extendable utilities for testing
14 lines (13 loc) • 357 B
TypeScript
/// <reference types="nock" />
import * as Nock from 'nock';
declare const _default: (host: string, cb: (nock: Nock.Scope) => any) => {
run(ctx: {
nock: number;
}): Promise<void>;
finally(ctx: {
error?: Error | undefined;
nock: number;
}): void;
};
export default _default;
export { Scope as NockScope } from 'nock';