Skip to content

Commit

Permalink
[readme] document Promise support; remove Promise-related alternatives
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Dec 29, 2020
1 parent 5b7720a commit 4665d63
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion readme.markdown
Expand Up @@ -21,6 +21,11 @@ test('timing test', function (t) {
t.equal(Date.now() - start, 100);
}, 100);
});

test('test using promises', async function (t) {
const result = await someAsyncThing();
t.ok(result);
});
```

```
Expand Down Expand Up @@ -128,7 +133,6 @@ By default, uncaught exceptions in your tests will not be intercepted, and will
## other

- CoffeeScript support with https://www.npmjs.com/package/coffeetape
- Promise support with https://www.npmjs.com/package/blue-tape or https://www.npmjs.com/package/tape-promise
- ES6 support with https://www.npmjs.com/package/babel-tape-runner or https://www.npmjs.com/package/buble-tape-runner
- Different test syntax with https://github.com/pguth/flip-tape (warning: mutates String.prototype)
- Electron test runner with https://github.com/tundrax/electron-tap
Expand Down

0 comments on commit 4665d63

Please sign in to comment.