import { testing } from "https://deno.land/x/dectyl@0.10.7/mod.ts";
const { jsonResponse } = testing;
A helper function that creates a tuple with the information to create a
Response
object.
This will throw if the object cannot be parsed to JSON or if the init
, if
supplied, does not contain a simple record object for the headers
.