Skip to content

Commit 73e9532

Browse files
committed
remove cypress.json check as Cypress 10.0 introduces another config file
1 parent 386dd89 commit 73e9532

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/utils/config.ts

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -97,25 +97,6 @@ export default {
9797
`The supplied cypress_project_dir in testingbot.json is not a directory: ${config.run_settings.cypress_project_dir}`,
9898
);
9999
}
100-
101-
try {
102-
if (
103-
!fs
104-
.statSync(
105-
path.join(
106-
config.run_settings.cypress_project_dir,
107-
'cypress.json',
108-
),
109-
)
110-
.isFile()
111-
) {
112-
throw new Error();
113-
}
114-
} catch (e) {
115-
errors.push(
116-
`Could not find cypress.json in cypress_project_dir directory: ${config.run_settings.cypress_project_dir}`,
117-
);
118-
}
119100
}
120101

121102
return errors;

0 commit comments

Comments
 (0)