Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dectyl/lib/testing.ts>assertDiagnostics

Prototype library for testing Deno Deploy scripts using the Deno CLI
Latest
function assertDiagnostics
import { assertDiagnostics } from "https://deno.land/x/dectyl@0.10.7/lib/testing.ts";

Asserts that there are no diagnostics returned, otherwise logs the diagnostics to the console and throws.

Parameters

optional
diagnostics: Deno.Diagnostic[]