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