Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function: textResponse()

textResponse(body, status?): MockResponseSpec

A text/plain response spec for respond.

Parameters

body

string

status?

number

Returns

MockResponseSpec