Skip to content

Commit 9b755da

Browse files
authored
docs(cookies): update README.md (#51)
renamed 'whitelist' option to 'preserve' in README according to cypress-io/cypress#7782
1 parent 65cb0e9 commit 9b755da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ return cy.task('GoogleSocialLogin', socialLoginOptions).then(({cookies, lsd, ssd
5454
})
5555

5656
Cypress.Cookies.defaults({
57-
whitelist: cookieName
57+
preserve: cookieName
5858
})
5959
}
6060

@@ -156,7 +156,7 @@ describe('Login', () => {
156156
})
157157

158158
Cypress.Cookies.defaults({
159-
whitelist: cookieName
159+
preserve: cookieName
160160
})
161161
}
162162
})

0 commit comments

Comments
 (0)