Skip to content

Commit 67815ac

Browse files
committed
Step definiitions need not be within the project root
It might even be that they don't need to be within the integration folder, but one thing at the time I suppose.
1 parent ea9ba4d commit 67815ac

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/step-definitions.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,6 @@ export function getStepDefinitionPatterns(
7979
throw new Error(`${filepath} is not inside ${fullIntegrationFolder}`);
8080
}
8181

82-
if (!isPathInside(filepath, configuration.cypress.projectRoot)) {
83-
throw new Error(
84-
`${filepath} is not inside ${configuration.cypress.projectRoot}`
85-
);
86-
}
87-
8882
debug(
8983
`looking for step definitions using ${util.inspect(
9084
configuration.preprocessor.stepDefinitions

0 commit comments

Comments
 (0)