method MockResponse.prototype.send
MockResponse.prototype.send(_body?: Uint8Array): HandlerResult

Sends a raw byte response.

Parameters

optional
_body: Uint8Array

Return Type

HandlerResult

The handler result

Usage

import { MockResponse } from "testing/src/index.ts";