Commit 8a942d9
fix(testing): include config file path in plugin hash calculation (#35346)
## Current Behavior
The createNodesV2 function in the nx/cypress plugin calculates the hash
based only on the output of the standard `calculateHashForCreateNodes`.
This means that when multiple Cypress configuration files exist within a
single application hash. As a result, only one set of inferred targets
is generated, and the additional configuration variants are effectively
ignored.
## Expected Behavior
The createNodesV2 function now takes the configuration file name into
the hash calculation, removing the limitation of a single config within
an application.
---------
Co-authored-by: Craigory Coppola <[email protected]>
Co-authored-by: Leosvel Pérez Espinosa <[email protected]>1 parent 4c11b62 commit 8a942d9
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
98 | 96 | | |
99 | 97 | | |
100 | 98 | | |
| |||
0 commit comments