Skip to content

Commit

Permalink
Remove Cypress comments that are wrongfully interpreted as JSX pragma…
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadorequest committed Jan 10, 2021
1 parent f392f5f commit d1bbe70
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion cypress/_examples/utilities.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ context('Utilities', () => {
})
expect(matching, 'comments').to.be.false

// ** matches against all downstream path segments
// matches against all downstream path segments
matching = Cypress.minimatch('/foo/bar/baz/123/quux?a=b&c=2', '/foo/**', {
matchBase: true,
})
Expand Down
18 changes: 9 additions & 9 deletions cypress/plugins/index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// ***********************************************************
// This example plugins/index.js can be used to load plugins
//
// You can change the location of this file or turn off loading
// the plugins file with the 'pluginsFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/plugins-guide
// ***********************************************************
/*
This example plugins/index.js can be used to load plugins
You can change the location of this file or turn off loading
the plugins file with the 'pluginsFile' configuration option.
You can read more here:
https://on.cypress.io/plugins-guide
*/

// This function is called when a project is opened or re-opened (e.g. due to
// the project's config changing)
Expand Down
18 changes: 9 additions & 9 deletions cypress/support/commands.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// ***********************************************
// This example commands.js shows you how to
// create various custom commands and overwrite
// existing commands.
//
// For more comprehensive examples of custom
// commands please read more here:
// https://on.cypress.io/custom-commands
// ***********************************************
/*
This example commands.js shows you how to
create various custom commands and overwrite
existing commands.
For more comprehensive examples of custom
commands please read more here:
https://on.cypress.io/custom-commands
*/

import { CYPRESS_WINDOW_NS } from '../../src/utils/testing/cypress';

Expand Down
28 changes: 14 additions & 14 deletions cypress/support/index.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// ***********************************************************
// This example support/index.js is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
// You can change the location of this file or turn off
// automatically serving support files with the
// 'supportFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/configuration
// ***********************************************************
/*
This example support/index.js is processed and
loaded automatically before your test files.
This is a great place to put global configuration and
behavior that modifies Cypress.
You can change the location of this file or turn off
automatically serving support files with the
'supportFile' configuration option.
You can read more here:
https://on.cypress.io/configuration
*/

// See https://dev.to/cuichenli/how-do-i-setup-my-nextjs-development-environment-2kao
import '@cypress/react/support';
Expand Down

0 comments on commit d1bbe70

Please sign in to comment.