Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions packages/service/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,11 @@ export const CONTEXT_CHANGE_COMMANDS = [
]

/**
* Existing pattern (kept for any external consumers)
* Shared pattern for identifying test-related file paths.
* Kept as a public export for consumers and may be expanded as supported locations evolve.
*/
export const SPEC_FILE_PATTERN =
/\/(test|spec|features|steps|step-definitions|pageobjects|@wdio\/expect-webdriverio)\//i
/\/(test|spec|features|steps|step[-_]?definitions|pageobjects|@wdio\/expect-webdriverio)\//i
Comment on lines +101 to +105

/**
* Parser options
Expand Down
Loading