Skip to content

Commit fe502e2

Browse files
committed
delete comments
1 parent 08a3dc1 commit fe502e2

File tree

4 files changed

+1
-77
lines changed

4 files changed

+1
-77
lines changed

cypress/support/commands.js

-4
This file was deleted.

cypress/support/commands.ts

+1-28
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,5 @@
11
/// <reference types="cypress" />
2-
// ***********************************************
3-
// This example commands.ts shows you how to
4-
// create various custom commands and overwrite
5-
// existing commands.
6-
//
7-
// For more comprehensive examples of custom
8-
// commands please read more here:
9-
// https://on.cypress.io/custom-commands
10-
// ***********************************************
11-
//
12-
//
13-
// -- This is a parent command --
14-
// Cypress.Commands.add('login', (email, password) => { ... })
15-
//
16-
//
17-
// -- This is a child command --
18-
// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
19-
//
20-
//
21-
// -- This is a dual command --
22-
// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
23-
//
24-
//
25-
// -- This will overwrite an existing command --
26-
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
27-
//
28-
29-
export {};
2+
import 'cypress-file-upload';
303

314
declare global {
325
namespace Cypress {

cypress/support/component.ts

-27
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,6 @@
1-
// ***********************************************************
2-
// This example support/component.ts is processed and
3-
// loaded automatically before your test files.
4-
//
5-
// This is a great place to put global configuration and
6-
// behavior that modifies Cypress.
7-
//
8-
// You can change the location of this file or turn off
9-
// automatically serving support files with the
10-
// 'supportFile' configuration option.
11-
//
12-
// You can read more here:
13-
// https://on.cypress.io/configuration
14-
// ***********************************************************
15-
16-
// Import commands.js using ES2015 syntax:
171
import './commands';
182

19-
// Alternatively you can use CommonJS syntax:
20-
// require('./commands')
21-
223
import { mount } from 'cypress/react';
23-
24-
// Augment the Cypress namespace to include type definitions for
25-
// your custom command.
26-
// Alternatively, can be defined in cypress/support/component.d.ts
27-
// with a <reference path="./component" /> at the top of your spec.
284
declare global {
295
namespace Cypress {
306
interface Chainable {
@@ -34,6 +10,3 @@ declare global {
3410
}
3511

3612
Cypress.Commands.add('mount', mount);
37-
38-
// Example use:
39-
// cy.mount(<MyComponent />)

cypress/support/e2e.ts

-18
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,5 @@
1-
// ***********************************************************
2-
// This example support/index.js is processed and
3-
// loaded automatically before your test files.
4-
//
5-
// This is a great place to put global configuration and
6-
// behavior that modifies Cypress.
7-
//
8-
// You can change the location of this file or turn off
9-
// automatically serving support files with the
10-
// 'supportFile' configuration option.
11-
//
12-
// You can read more here:
13-
// https://on.cypress.io/configuration
14-
// ***********************************************************
15-
16-
// Import commands.js using ES2015 syntax:
171
import './commands';
182

19-
// Alternatively you can use CommonJS syntax:
20-
// require('./commands')
213
const timeout = 25000;
224

235
Cypress.Commands.add('instantiate', () => {

0 commit comments

Comments
 (0)