mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-12 02:00:06 -06:00
chore: fix some comments (#30053)
Signed-off-by: beforetech <mail@before.tech>
This commit is contained in:
@@ -113,7 +113,7 @@ function maybeScrollToAnchor () {
|
||||
}
|
||||
|
||||
// Get the root HTML element, then query for the desired anchor element.
|
||||
// Finally, if we found it, scroll into into view!
|
||||
// Finally, if we found it, scroll into view!
|
||||
const $el = root.value.$el as HTMLDivElement
|
||||
const $anchor = $el.querySelector(`#${route.query.anchor}`)
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ describe('FileDataSource', () => {
|
||||
await fs.mkdirs(nestedScriptPath)
|
||||
await fs.writeFile(path.join(nestedScriptPath, 'nested-script.js'), '')
|
||||
|
||||
// Verify that the glob pattern is not impacted if if contains directories equivalent
|
||||
// Verify that the glob pattern is not impacted if it contains directories equivalent
|
||||
// to the working directory
|
||||
let files = await fileDataSource.getFilesByGlob(
|
||||
projectPath,
|
||||
|
||||
@@ -86,7 +86,7 @@ export function domainPropsToHostname ({ domain, subdomain, tld }: Record<string
|
||||
}
|
||||
|
||||
/**
|
||||
* same-origin: Whether or not a a urls scheme, port, and host match. @see https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy
|
||||
* same-origin: Whether or not a urls scheme, port, and host match. @see https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy
|
||||
* same-super-domain-origin: Whether or not a url's scheme, domain, top-level domain, and port match
|
||||
* same-site: Whether or not a url's scheme, domain, and top-level domain match. @see https://developer.mozilla.org/en-US/docs/Glossary/Site
|
||||
* @param {Policy} policy - the policy being used
|
||||
|
||||
Reference in New Issue
Block a user