File tree Expand file tree Collapse file tree 8 files changed +10
-19
lines changed Expand file tree Collapse file tree 8 files changed +10
-19
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,5 @@ import { defineConfig } from 'cypress';
4
4
export default defineConfig ( {
5
5
component : {
6
6
...nxComponentTestingPreset ( __filename ) ,
7
- // Please ensure you use `cy.origin()` when navigating between domains and remove this option.
8
- // See https://docs.cypress.io/app/references/migration-guide#Changes-to-cyorigin
9
- injectDocumentDomain : true ,
10
7
} ,
11
8
} ) ;
Original file line number Diff line number Diff line change 79
79
"coverage" : true
80
80
}
81
81
}
82
+ },
83
+ "component-test" : {
84
+ "executor" : " @nx/cypress:cypress" ,
85
+ "options" : {
86
+ "cypressConfig" : " apps/rxjs/14-race-condition/cypress.config.ts" ,
87
+ "testingType" : " component" ,
88
+ "skipServe" : true ,
89
+ "devServerTarget" : " testing-router:build"
90
+ }
82
91
}
83
92
}
84
93
}
Original file line number Diff line number Diff line change 22
22
"path" : " ./tsconfig.editor.json"
23
23
},
24
24
{
25
- "path" : " ./cypress/tsconfig.base. json"
25
+ "path" : " ./cypress/tsconfig.json"
26
26
}
27
27
],
28
28
"extends" : " ../../../tsconfig.base.json" ,
Original file line number Diff line number Diff line change @@ -4,8 +4,5 @@ import { defineConfig } from 'cypress';
4
4
export default defineConfig ( {
5
5
component : {
6
6
...nxComponentTestingPreset ( __filename ) ,
7
- // Please ensure you use `cy.origin()` when navigating between domains and remove this option.
8
- // See https://docs.cypress.io/app/references/migration-guide#Changes-to-cyorigin
9
- injectDocumentDomain : true ,
10
7
} ,
11
8
} ) ;
Original file line number Diff line number Diff line change @@ -4,8 +4,5 @@ import { defineConfig } from 'cypress';
4
4
export default defineConfig ( {
5
5
component : {
6
6
...nxComponentTestingPreset ( __filename ) ,
7
- // Please ensure you use `cy.origin()` when navigating between domains and remove this option.
8
- // See https://docs.cypress.io/app/references/migration-guide#Changes-to-cyorigin
9
- injectDocumentDomain : true ,
10
7
} ,
11
8
} ) ;
Original file line number Diff line number Diff line change @@ -4,8 +4,5 @@ import { defineConfig } from 'cypress';
4
4
export default defineConfig ( {
5
5
component : {
6
6
...nxComponentTestingPreset ( __filename ) ,
7
- // Please ensure you use `cy.origin()` when navigating between domains and remove this option.
8
- // See https://docs.cypress.io/app/references/migration-guide#Changes-to-cyorigin
9
- injectDocumentDomain : true ,
10
7
} ,
11
8
} ) ;
Original file line number Diff line number Diff line change @@ -4,8 +4,5 @@ import { defineConfig } from 'cypress';
4
4
export default defineConfig ( {
5
5
component : {
6
6
...nxComponentTestingPreset ( __filename ) ,
7
- // Please ensure you use `cy.origin()` when navigating between domains and remove this option.
8
- // See https://docs.cypress.io/app/references/migration-guide#Changes-to-cyorigin
9
- injectDocumentDomain : true ,
10
7
} ,
11
8
} ) ;
Original file line number Diff line number Diff line change @@ -4,8 +4,5 @@ import { defineConfig } from 'cypress';
4
4
export default defineConfig ( {
5
5
component : {
6
6
...nxComponentTestingPreset ( __filename ) ,
7
- // Please ensure you use `cy.origin()` when navigating between domains and remove this option.
8
- // See https://docs.cypress.io/app/references/migration-guide#Changes-to-cyorigin
9
- injectDocumentDomain : true ,
10
7
} ,
11
8
} ) ;
You can’t perform that action at this time.
0 commit comments