jsdom-worker
jsdom-worker copied to clipboard
Less invasive handling of unsupported methods
Very helpful library, thanks for creating and maintaining it!
I've recently tried using jsdom-worker to test React components using useWorker hook and discovered that it uses worker.terminate() in certain cases which causes an error and stops tests. I wasn't able to find a way to circumvent this through useWorker hook so was wondering if it's possible to make error when terminate method is used less invasive? For example using console.warn or console.error instead?