Skip to main content
Module

x/unitest/mod.ts>anyBigInt

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

matches any bigint or BigInt

import {
  anyBigInt,
  expect,
  test,
} from "https://deno.land/x/unitest@$VERSION/mod.ts";
test("should be any bigint", () => {
  expect(1n).toEqual(anyBigInt());
});

Returns

AnyBigInt