We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
t.notThrows
1 parent d8c21a6 commit 57f5007Copy full SHA for 57f5007
readme.md
@@ -979,7 +979,7 @@ Assert that `function` does not throw an error or that `promise` does not reject
979
Like the `.throws()` assertion, when testing a promise you must wait for the assertion to complete:
980
981
```js
982
-test('rejects', async t => {
+test('resolves', async t => {
983
await t.notThrows(promise);
984
});
985
```
0 commit comments