Skip to content

Commit

Permalink
chore: Add defaultValue for specPattern option
Browse files Browse the repository at this point in the history
  • Loading branch information
astone123 committed Jun 22, 2022
1 parent eb3666d commit 50cc582
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/config/src/options.ts
Expand Up @@ -421,6 +421,7 @@ const resolvedOptions: Array<ResolvedConfigOption> = [
},
{
name: 'specPattern',
defaultValue: (options: Record<string, any> = {}) => options.testingType === 'component' ? defaultSpecPattern.e2e : undefined,
validation: validate.isStringOrArrayOfStrings,
canUpdateDuringTestTime: false,
},
Expand Down

0 comments on commit 50cc582

Please sign in to comment.