Skip to main content
Module

x/aleph_plugin_mdx/dev_deps.ts>expect

The MDX 2 Plugin for Aleph.js
Go to Latest
variable expect
import { expect } from "https://deno.land/x/aleph_plugin_mdx@v1.0.0-beta.1/dev_deps.ts";

Consists of a built-in matcher for jest and is ready to use out of the box.

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

test("expect should have default jest matchers", async () => {
  await expect(Promise.resolve("test")).resolves.toBe("test");
  expect({}).toEqual({});
});