cucumber / cucumber-js

Cucumber for JavaScript
https://cucumber.io
MIT License
5.04k stars 1.09k forks source link

fix: ensure feature paths are properly deduplicated #2258

Closed davidjgoss closed 1 year ago

davidjgoss commented 1 year ago

🤔 What's changed?

Deduplicate feature paths a bit later in the process of expanding and normalizing them. This ensures that e.g. two overlapping glob expressions, or a mixture of a glob and a specific path, won't cause the same feature to be loaded multiple times.

⚡️ What's your motivation?

Fixes #2226

🏷️ What kind of change is this?

📋 Checklist:


This text was originally generated from a template, then edited by hand. You can modify the template here.

coveralls commented 1 year ago

Coverage Status

Coverage: 98.561%. Remained the same when pulling 2622e143739f6d81015fede02cd0d2c517366b53 on fix/2226 into 3811f811af61d6e7ed29ec2f31b1d2eabefc0a09 on main.