fix(testing): make sure new tsconfig exists before adding ref (#17147)
This commit is contained in:
parent
be2ccb802e
commit
15ea10ef71
@ -92,7 +92,11 @@ function updateCyDirTsConfigReferences(
|
||||
tree: Tree,
|
||||
projectConfig: ProjectConfiguration
|
||||
) {
|
||||
if (!tree.exists(joinPathFragments(projectConfig.root, 'cypress'))) {
|
||||
if (
|
||||
!tree.exists(
|
||||
joinPathFragments(projectConfig.root, 'cypress', 'tsconfig.json')
|
||||
)
|
||||
) {
|
||||
return;
|
||||
}
|
||||
updateJson(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user