- Run
yarn test
to see that the Cucumber CLI runner successfully recognizes steps- This is equivalent to
cucumber-js feature/*.feature -r steps
- This is equivalent to
- Run
yarn test-fork
to see that when running the Cucumber command via forking the Cucumber process inrunner.js
, Cucumber fails to recognize the steps. - This is the issue we are facing and the failure does not happen on
[email protected]
- This is proved by doing the following:
- Add the following block to package JSON
"resolutions": {
"minimatch": "3.0.4"
}
- Use
yarn
to force the resolution - Run
yarn test-fork
to see that everything runs successfully and the steps are recognized.