import { toBeNaN } from "https://deno.land/x/unitest@v1.0.0-beta.82/matcher/to_be_nan.ts";
Use .toBeNaN
when checking a value is NaN
import { expect, test } from "https://deno.land/x/unitest@$VERSION/mod.ts";
test("passes when value less than", () => {
expect(NaN).toBeNaN();
expect(-NaN).toBeNaN();
expect(1).not.toBeNaN();
});