Interface ITestSettingExpectations

Expectations for a test.

interface ITestSettingExpectations {
    body?: any;
    headers?: Nilable<TestSettingValueOrGetter<Record<string, string | RegExp>>>;
    status?: Nilable<TestSettingValueOrGetter<number>>;
}

Properties

body?: any

The expected body.

headers?: Nilable<TestSettingValueOrGetter<Record<string, string | RegExp>>>

The expected headers.

status?: Nilable<TestSettingValueOrGetter<number>>

The expected status code.

Default

200

Generated using TypeDoc