UNPKG

unmock-core

Version:

[![npm](https://img.shields.io/npm/v/unmock-core.svg)][npmjs] [![CircleCI](https://circleci.com/gh/unmock/unmock-js.svg?style=svg)](https://circleci.com/gh/unmock/unmock-js) [![codecov](https://codecov.io/gh/unmock/unmock-js/branch/dev/graph/badge.svg)](h

17 lines 657 B
import { OpenAPIObject } from "loas3/dist/generated/full"; import { IStateTransformer } from "../interfaces"; import { IService, IServiceCore } from "./interfaces"; import { ServiceSpy } from "./spy"; export declare class Service implements IService { readonly core: IServiceCore; static fromOpenAPI({ schema, name, }: { schema: OpenAPIObject; name: string; }): Service; static isOpenAPIObject(schema: any): schema is OpenAPIObject; readonly spy: ServiceSpy; constructor(core: IServiceCore); state(a0: IStateTransformer, ...i: IStateTransformer[]): void; reset(): void; } //# sourceMappingURL=service.d.ts.map