Skip to content
module@warp-drive/holodeck/mock

Interface Scaffold ​

Defined in: mock.ts:6

Properties ​

body ​

ts
body: 
  | string
  | Record<string, string>
  | null;

Defined in: mock.ts:10


headers ​

ts
headers: Record<string, string>;

Defined in: mock.ts:9


method ​

ts
method: string;

Defined in: mock.ts:11


response ​

ts
response: Record<string, unknown>;

Defined in: mock.ts:13


status ​

ts
status: number;

Defined in: mock.ts:7


statusText? ​

ts
optional statusText?: string;

Defined in: mock.ts:8


url ​

ts
url: string;

Defined in: mock.ts:12

Released under the MIT License.