Skip to main content
Module

x/unitest/mod.ts>toBeUndefined

🃏 Deno-first universal unit testing framework
Latest
function toBeUndefined
Re-export
import { toBeUndefined } from "https://deno.land/x/unitest@v1.0.0-beta.82/mod.ts";

Use .toBeUndefined to check that a value is undefined

import { expect, test } from "https://deno.land/x/unitest@$VERSION/mod.ts";

test("should be truthy", () => {
  expect(undefined).toBeUndefined();
  expect(null).not.toBeUndefined();
});

Parameters

actual: unknown