Skip to main content

HttpStatusCode

Matches an HTTP status code.

import { matchers } from '@contract-case/case-definition-dsl'

new matchers.http.HttpStatusCode(statusCode: string | string[])

Parameters

NameTypeDescription
statusCode`stringstring[]`