Import
import {
afterAll,
afterEach,
assert,
assertEquals,
assertExists,
assertGreater,
} from "veryfront/testing";Examples
import { assertEquals, describe, it } from "veryfront/testing";
describe("math", () => {
it("adds numbers", () => {
assertEquals(1 + 1, 2);
});
});Exports
Functions
Types
Constants
Deep imports
These import paths group focused functionality under this module. Each is a separate barrel; import only what you need.
veryfront/testing/assert
import { assert, assertEquals, assertExists } from "veryfront/testing/assert";Functions
veryfront/testing/bdd
Portable BDD testing utilities (describe, it, beforeEach, afterEach). In Deno: @std/testing/bdd with file, suite, and test environment overlays In Node.js: Uses node:test In Bun: Uses bun:test Deno test runs whose dependencies mutate environment variables before they import this module must use --preload=veryfront/testing/bdd.
import { afterAll, afterEach, beforeAll } from "veryfront/testing/bdd";