jorgebucaran / twist

Declarative JavaScript Testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twist

Declarative testing for JavaScript.

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),
    ]),
  ]),
]

Installation

npm i twist

License

MIT

About

Declarative JavaScript Testing

License:MIT License


Languages

Language:JavaScript 100.0%