twist
Version:
Declarative testing for JavaScript.
26 lines (18 loc) • 342 B
Markdown
> Declarative testing for JavaScript.
```js
import { t, equal } from "twist"
export default [
t("array.indexOf()", [
t("returns the index at which a given element is in the array", [
equal(["A", "B", "C"].indexOf("A"), 0),
]),
]),
]
```
```console
npm i twist
```
[](LICENSE.md)