Skip to content

Commit dfffa63

Browse files
authored
Add to.not.redirect example to README
Many of the other examples show `.not` variations, updated `.redirect` to be consistent
1 parent 1ea9265 commit dfffa63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ Assert that a `Response` object has a redirect status code.
298298

299299
```js
300300
expect(res).to.redirect;
301+
expect(res).to.not.redirect;
301302
```
302303

303304
### .redirectTo

0 commit comments

Comments
 (0)