0.1.9 • Published 7 years ago

itay-test v0.1.9

Weekly downloads
34
License
-
Repository
github
Last release
7 years ago

itay-test

The library allows to declare the test stage.
If an error is thrown, it will be wrapped with an appropriate error.

Install

npm install --save-dev itay-test

Basic Usage

import { describe, test, testAsync } from "itay-test";
describe("Some tests", () => {
    test("test indexOf.", (t) => {
        t.arrange();
        let list = [];
        list.push(1);
        list.push(2);
        list.push(3);

        t.act();
        let result = list.indexOf(2);

        t.assert();
        expect(result).toBe(1);
    });
});
0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago