Skip to main content

describe

A simple description formatter for Deno unit tests.

Usage

import { assert } from "https://deno.land/std/testing/asserts.ts";

import { description } from "https://deno.land/x/describe/mod.ts";

Deno.test(description({
  name: "what is being tested",
  given: "under such conditions",
  should: "do as expected"
}), () => {
  assert(true);
});

Test

deno test mod.test.ts

Authors

Andre Silva - andreswebs

License

This project is licensed under the Unlicense.