tnicola / cypress-parallel

Reduce up to 40% your Cypress suite execution time parallelizing the test run on the same machine.
MIT License
560 stars 117 forks source link

TypeError: glob is not a function #169

Open flavianh opened 11 months ago

flavianh commented 11 months ago

Hello, I came across this problem today. The problem comes from cypress-parallel/test-suites.js which imports glob using const glob = require('glob');.

There are two problems hidden behind this:

Thanks

ngraf commented 5 months ago

I face the the same problem. I can't use "cypress-parallel" because of this.

Is there any workaround?

Update: A (rather dirty) workaround for me that worked is installing old library version of glob in the project that consumes "cypress-parellal": npm install glob@^7.2.3 --save-dev