UNPKG

@lou.codes/test

Version:

✅ Equality test with enforced readability

13 lines (12 loc) 400 B
import type { ReadOnlyRecord } from "@lou.codes/types"; import type { Test } from "./Test.js"; import type { Tests } from "./Tests.js"; /** * Promise import of a file containing `Test` or `Tests`. * * @category File System * @category Test * @see {@link Test} * @see {@link Tests} */ export type TestsImport<Value = unknown> = Promise<ReadOnlyRecord<PropertyKey, Test<Value> | Tests<Value>>>;