Skip to content

Commit

Permalink
docs(cookies): update README.md (#51)
Browse files Browse the repository at this point in the history
renamed 'whitelist' option to 'preserve' in README according to cypress-io/cypress#7782
  • Loading branch information
vfedrunov authored Aug 24, 2020
1 parent 65cb0e9 commit 9b755da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ return cy.task('GoogleSocialLogin', socialLoginOptions).then(({cookies, lsd, ssd
})

Cypress.Cookies.defaults({
whitelist: cookieName
preserve: cookieName
})
}

Expand Down Expand Up @@ -156,7 +156,7 @@ describe('Login', () => {
})

Cypress.Cookies.defaults({
whitelist: cookieName
preserve: cookieName
})
}
})
Expand Down

0 comments on commit 9b755da

Please sign in to comment.