twist

0.0.5 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i twist

Weekly Downloads

38

Version

0.0.5

License

MIT

Unpacked Size

9.25 kB

Total Files

8

Last publish

Collaborators

  • jorgebucaran