File tree Expand file tree Collapse file tree 2 files changed +9
-12
lines changed
packages/editor-pro/cypress/support Expand file tree Collapse file tree 2 files changed +9
-12
lines changed Original file line number Diff line number Diff line change
1
+ import { mount } from 'cypress/react' ;
2
+
3
+ declare global {
4
+ namespace Cypress {
5
+ interface Chainable {
6
+ mount : typeof mount
7
+ }
8
+ }
9
+ }
Original file line number Diff line number Diff line change @@ -21,18 +21,6 @@ import './commands';
21
21
22
22
import { mount } from 'cypress/react' ;
23
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.
28
- declare global {
29
- namespace Cypress {
30
- interface Chainable {
31
- mount : typeof mount
32
- }
33
- }
34
- }
35
-
36
24
Cypress . Commands . add ( 'mount' , mount ) ;
37
25
38
26
// Example use:
You can’t perform that action at this time.
0 commit comments