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

10 lines 394 B
import { codeToMedia, HTTPMethod, Operation } from "../interfaces"; import { IStateUpdate } from "./interfaces"; export declare class State { private state; update(stateUpdate: IStateUpdate): void; getState(method: HTTPMethod, endpoint: string, operation: Operation): codeToMedia | undefined; reset(): void; private updateStateInternal; } //# sourceMappingURL=state.d.ts.map