# turris-test-helpers

> Turris.js test environment helpers

Latest version **0.1.4** (published 2015-05-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install turris-test-helpers
pnpm add turris-test-helpers
yarn add turris-test-helpers
bun add turris-test-helpers
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2015-05-07 |
| First published | 2015-04-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Tim Ermilov |
| Maintainers | yamalight |

## Links

- npm: https://www.npmjs.com/package/turris-test-helpers
- Repository: https://github.com/turrisjs/turris-test-helpers
- Homepage: https://github.com/turrisjs/turris-test-helpers#readme
- Issues: https://github.com/turrisjs/turris-test-helpers/issues
- npm.io page: https://npm.io/package/turris-test-helpers

## Dependencies (4)

- [jsdom](https://npm.io/package/jsdom.md) ^5.0.1
- [react](https://npm.io/package/react.md) ^0.13.2
- [should](https://npm.io/package/should.md) ^6.0.1
- [localStorage](https://npm.io/package/localStorage.md) ^1.0.3

## Recent versions

- 0.1.4 (latest) — 2015-05-07
- 0.1.3 — 2015-04-30
- 0.1.2 — 2015-04-29

## README

# [Turris.js](https://github.com/turrisjs) test environment helpers

Provides a simple way to create an environment for testing React.js components writter with ES6 without browser.  

### Includes things

- [jsdom](https://github.com/tmpvar/jsdom) with [localStorage](https://github.com/lmaccherone/node-localstorage) polyfill for all your DOM needs
- [React](https://facebook.github.io/react/) and TestUtils (exposed via mocha context)
- Container for rendering your component that is create before each test and disposed afterwards (exposed via mocha context)
- [Should.js](https://github.com/shouldjs/should.js) for your assertions (exposed as default module export)

### Installation

Package can be installed using NPM:  
`npm install turris-test-helpers`

### Usage

It is recommended to import this file in the beginning of your test, e.g.:  
`import should from 'turris-test-helpers'`

### License

[MIT](http://opensource.org/licenses/MIT)

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