Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cacieprins committed Dec 20, 2024
1 parent ea57654 commit b86bd00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/types/cypress.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3106,7 +3106,7 @@ declare namespace Cypress {
* disabled by default. Enabling this option allows for navigating between subdomains in
* the same test without the use of cy.origin(). Setting document.domain is deprecated in Chrome.
* Enabling this may result in incompatibilities with sites that leverage origin-agent-cluster
* headers. Enabling this when a browser does not support setting document.domain will not result
* headers. Enabling this when a browser does not support setting document.domain will not result
* in the browser allowing document.domain to be set. In these cases, this configuration option
* must be set to false, to allow cy.origin() to be used on subdomains.
* @default false
Expand Down
2 changes: 1 addition & 1 deletion packages/driver/cypress/e2e/e2e/origin/cookie_misc.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ describe('misc cookie tests', { browser: '!webkit' }, () => {

cy.wait('@cookiedRequest').then(({ request }) => {
// in Cypress <= 13, this should be (which is wrong)
// expect(req['headers']['cookie']).to.equal('foo1=bar1')
// expect(req['headers']['cookie']).to.equal('foo1=bar1')

// in Cypress 14, this should be (which is correct)
expect(request.headers.cookie).to.equal(cookie)
Expand Down

0 comments on commit b86bd00

Please sign in to comment.