/** * Cross-runtime BDD assertions and test helpers. * * @example * ```ts * import { assertEquals, describe, it } from "veryfront/testing"; * * describe("math", () => { * it("adds numbers", () => { * assertEquals(1 + 1, 2); * }); * }); * ``` * * @module testing */ import "../../_dnt.polyfills.js"; import "./init.js"; export { assert, assertEquals, assertExists, assertGreater, assertGreaterOrEqual, assertInstanceOf, assertLess, assertLessOrEqual, assertMatch, assertNotEquals, assertNotStrictEquals, assertObjectMatch, assertRejects, assertStrictEquals, assertStringIncludes, assertThrows, fail, } from "./assert.js"; export { deepEquals, safeStringify } from "./utils.js"; export { afterAll, afterEach, beforeAll, beforeEach, describe, it, test, } from "./bdd.js"; export type { BddTestContext, TestOptions } from "./bdd.js"; export { registerTestCleanup, resetAllTestState } from "./isolation.js"; export { chmod, createFileSystem, cwd, delay, deleteEnv, env, exists, exit, getArgs, getEnv, isAlreadyExistsError, isNotFoundError, makeTempDir, makeTempDirWithOptions, makeTempFile, mkdir, readDir, readFile, readTextFile, remove, setEnv, stat, waitFor, withEnv, withTempDir, withTempFile, writeFile, writeTextFile, } from "./deno-compat.js"; export { getTestTimeScale, scaleMs, testDelay } from "./timing.js"; export { isBun, isDeno, isNode } from "../platform/compat/runtime.js"; //# sourceMappingURL=index.d.ts.map