test: use sinon stub to simplify code
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 2 Oct 2023 19:01:01 +0000 (21:01 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 2 Oct 2023 19:01:01 +0000 (21:01 +0200)
commitbb3d0b23ab89cf90ac2977403d74bb755f4f6b07
treeb71f2f593a63403af634f0993f34dfcb93ebf6c7
parent34d8846f1e7e54273f3944f687336c5624a18f39
test: use sinon stub to simplify code

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
tests/worker/cluster-worker.test.mjs
tests/worker/thread-worker.test.mjs