@bahmutov/cy-grep 1.5.1 → 1.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/plugin.js +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmutov/cy-grep",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "Filter Cypress tests using title or tags",
5
5
  "main": "src/support.js",
6
6
  "scripts": {
package/src/plugin.js CHANGED
@@ -176,13 +176,14 @@ function cypressGrepPlugin(config) {
176
176
  const relativeNames = greppedSpecs.map((filename) =>
177
177
  path.relative(integrationFolder, filename),
178
178
  )
179
+ const relativeSpecs = relativeNames.join(', ')
179
180
  debug(
180
181
  'specs in the integration folder %s %s',
181
182
  integrationFolder,
182
- relativeNames.join(', '),
183
+ relativeSpecs,
183
184
  )
184
185
  // @ts-ignore
185
- config.testFiles = relativeNames.join(',')
186
+ config.testFiles = relativeNames
186
187
  } else {
187
188
  debug('setting selected %d specs (>= v10)', greppedSpecs.length)
188
189
  // @ts-ignore