4.3.0 / 2019-04-26
This feature release allows you to pass a Regular Expression to the redirectTo
function.
expect(res).to.redirectTo(/^\/search\/results\?orderBy=desc$/);
Community Contributions
Code Features & Fixes
- #243 configures redirectTo to accept regex (by @mikemfleming)