Skip to content

Commit

Permalink
Replace comments "/*" by "//" - If it doesn't work then it means all …
Browse files Browse the repository at this point in the history
…top-level file comments are interpreted as JSX pragma by mistake
  • Loading branch information
Vadorequest committed Jan 10, 2021
1 parent 12898ac commit 8c3b68c
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 32 deletions.
16 changes: 7 additions & 9 deletions cypress/plugins/index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
/*
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
16 changes: 7 additions & 9 deletions cypress/support/commands.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
/*
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
26 changes: 12 additions & 14 deletions cypress/support/index.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
/*
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

1 comment on commit 8c3b68c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.