test
import { test } from "jsr:@ende/testing/unstable-bdd";variable · experimental · deprecated
const test: typeof test_ & testAlias of it
Registers an individual test case.
Deprecated.
This will be removed in 2.0.0. Use
Ende.test()instead.
Example: Usage
import { test } from "@ende/testing/bdd";
import { assertEquals } from "@ende/assert";
test("a test case", () => {
// test case
assertEquals(2 + 2, 4);
});
interface · experimental
interface testRegisters an individual test case.
Methods
todo
todo<T>(...args: ItArgs<T>): voidRegister a test case that is not yet implemented. Alias of .ignore().