import { jsonResponse } from "https://deno.land/x/dectyl@0.10.7/lib/testing.ts";
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
.