Skip to main content
Module

x/unitest/mod.ts>not

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

Use .not to reverse the test result

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

test("passes when not equal to", () => {
  expect("Deno").not.toBe("Node");
});