Skip to content

Commit

Permalink
Ignore coverage on rrv4 and rrv3 checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mjrussell committed Mar 27, 2017
1 parent f21fc89 commit e2387ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ export const UserAuthWrapper = (args) => {
}

getRedirectFunc = ({ redirect }) => {
// Its silly to test both RR4 and RR3 branches in one test suite, so ignore it
/* istanbul ignore else sanity */
if (redirect) {
return redirect
} else if (this.context.router) {
Expand Down

0 comments on commit e2387ad

Please sign in to comment.