test: fix race condition in the tests
Even with a timeout of 0, the 'open' event was emitted before the timeout was reached, so the tests would randomly fail in the CI.
D
Damien Arrachequesne committed
b7dbbd28c84464147ef630ed8ba9e86d88a4d513
Parent: 661f1e7