Douglas Teles
Douglas Teles

Reputation: 149

How to use correctly filtering on NightwatchJS

I'm using src_folders with filter to skip others .js files that don't match my patterns but he is skipping patterns files also:

Imgur

Error: No tests defined! using source folder: test_fixtures
   - using path filter: /*-spec.js

Upvotes: 1

Views: 398

Answers (1)

webdesign-berlin
webdesign-berlin

Reputation: 26

"src_folders" : ["test_fixtures"],

and

 "filter": "**/*-spec.js",

works for me. Now i get all files located in test_fixtures/**/*-spec.js

Upvotes: 1

Related Questions