sindresorhus / trash

Move files and directories to the trash
MIT License
2.57k stars 78 forks source link

Require Node.js 12.20 and move to ESM #118

Closed LinusU closed 2 years ago

sindresorhus commented 2 years ago

Tests are failing

LinusU commented 2 years ago

Should be green now ✅

As far as I can tell the previously used version of Ava didn't have a test timeout before, because the tests locally for me takes the same time now and before. Adding a timeout specifically the "tons of files" test didn't help, since that tests saturates the global event loop which makes all the tests take long time (I think). I added a --timeout=10m to work around it.

Do you want me to squash everything together? Do you want me to solve the tests timeout in another way?