zen-audio-player / zen-audio-player.github.io

Listen to YouTube videos, without the distracting visuals.
https://zen-audio-player.github.io/
MIT License
228 stars 180 forks source link

Migrate all tests to puppeteer, remove zombie test dependency #416

Closed shakeelmohamed closed 1 year ago

shakeelmohamed commented 1 year ago

There is likely a breaking change in mocha since v7 which is causing the tests to hang. One of those changes is the deprecation of mocha.opts, though there may be other issues to address.

CI will be good to go once the workflow branch is merged in, but CI itself will hang until this issue if fixed.

A possible solution is replacing zombie with Puppeteer for headless testing

OpherM commented 1 year ago

Is there any issue to be resolved?

shakeelmohamed commented 1 year ago

@OpherM Hello, yes. I just reproduced the hang by running npm test locally on Node.js 16.20.1