Skip to content

Commit

Permalink
docs(readme) long running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Mar 7, 2021
1 parent ca45b78 commit 76c31e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/supertape/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
- produces deteiled stack traces for `async functions`;
- as many `only` as you wish
- ability to extend
- smart timeouts for long running tests(configured with `SUPERTAPE_TIMEOUT`)
- more natural assertions: `expected, result` -> `result, expected`, for example:
- smart timeouts (configured with `SUPERTAPE_TIMEOUT`)


```js
t.equal(error.message, 'hello world', `expected error.message to be 'hello world'`);
Expand All @@ -29,7 +30,7 @@ Doesn't contain:
- aliases, methods list much shorter;
- `throws`, `doesNotThrows` - use [tryCatch](https://github.com/coderaiser/try-catch), [tryToCatch](https://github.com/coderaiser/try-to-catch) with `equal` instead.

`Supertape` was written for scratch after messing a lot with `tape`, it inspired by `tape` and willing to be compatible with it.
`Supertape` was written from scratch after messing a lot with `tape`, it inspired by `tape` and willing to be compatible with it.

## Install

Expand Down

0 comments on commit 76c31e8

Please sign in to comment.