From 9b755da14632921437e4bdbbe0d9fdf07f8cfee0 Mon Sep 17 00:00:00 2001 From: Vitalii Fedrunov <50262512+vfedrunov@users.noreply.github.com> Date: Mon, 24 Aug 2020 19:44:08 +0300 Subject: [PATCH] docs(cookies): update README.md (#51) renamed 'whitelist' option to 'preserve' in README according to https://github.com/cypress-io/cypress/pull/7782 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 057124a..8d46817 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ return cy.task('GoogleSocialLogin', socialLoginOptions).then(({cookies, lsd, ssd }) Cypress.Cookies.defaults({ - whitelist: cookieName + preserve: cookieName }) } @@ -156,7 +156,7 @@ describe('Login', () => { }) Cypress.Cookies.defaults({ - whitelist: cookieName + preserve: cookieName }) } })