find-cypress-specs 1.27.1 → 1.27.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "find-cypress-specs",
3
- "version": "1.27.1",
3
+ "version": "1.27.2",
4
4
  "description": "Find Cypress spec files using the config settings",
5
5
  "main": "src",
6
6
  "files": [
package/src/index.js CHANGED
@@ -159,6 +159,7 @@ function findCypressSpecsV10(opts = {}, type = 'e2e') {
159
159
  if (type === 'component') {
160
160
  const e2eIgnorePattern = options.e2e?.specPattern || e2eDefaults.specPattern
161
161
  ignorePatterns.push(e2eIgnorePattern)
162
+ ignorePatterns.push('node_modules/**')
162
163
  }
163
164
 
164
165
  debug('ignore patterns %o', ignorePatterns)