# itay-test

> A testing library extending jasmine.

Latest version **0.1.9** (published 2017-05-29) · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install itay-test
pnpm add itay-test
yarn add itay-test
bun add itay-test
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.9 |
| Published | 2017-05-29 |
| First published | 2016-10-03 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Itay Ronen |
| Maintainers | itayronen |

## Links

- npm: https://www.npmjs.com/package/itay-test
- Repository: https://github.com/itayronen/test
- Issues: https://github.com/itayronen/test/issues
- npm.io page: https://npm.io/package/itay-test

## Dependencies (1)

- [jasmine-core](https://npm.io/package/jasmine-core.md) 2.4.1

## Recent versions

- 0.1.9 (latest) — 2017-05-29
- 0.1.8 — 2017-04-23
- 0.1.7 — 2017-04-23
- 0.1.6 — 2017-02-20
- 0.1.5 — 2017-02-20
- 0.1.4 — 2016-10-03
- 0.1.3 — 2016-10-03
- 0.1.2 — 2016-10-03
- 0.1.1 — 2016-10-03
- 0.1.0 — 2016-10-03

## README

# 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
```ts
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);
    });
});
```

---
_Source: https://npm.io/package/itay-test · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
