Skip to content

basalt / testing/src / TestRequestOptions

Interface: TestRequestOptions ​

Defined in: testing/src/app.ts:19

Properties ​

headers? ​

> optional headers?: Record<string, string>

Defined in: testing/src/app.ts:21


payload? ​

> optional payload?: unknown

Defined in: testing/src/app.ts:20


tenant? ​

> optional tenant?: string | {[key: string]: unknown; id: string; }

Defined in: testing/src/app.ts:25

Impersonate a tenant for this request (overrides asTenant).


user? ​

> optional user?: TestActor

Defined in: testing/src/app.ts:23

Impersonate a user for this request (overrides actingAs).

Released under the MIT License.