From 8b7983d43f177abe0716e22cf8d82d72c98cb23c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 5 Oct 2023 20:38:42 +0200 Subject: [PATCH] test: fix worker tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- tests/worker/abstract-worker.test.mjs | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/worker/abstract-worker.test.mjs b/tests/worker/abstract-worker.test.mjs index df844eef..575e0651 100644 --- a/tests/worker/abstract-worker.test.mjs +++ b/tests/worker/abstract-worker.test.mjs @@ -60,9 +60,6 @@ describe('Abstract worker test suite', () => { expect(() => new ThreadWorker(() => {}, { killHandler: 0 })).toThrowError( new TypeError('killHandler option is not a function') ) - expect(() => new ThreadWorker(() => {}, { async: true })).toThrowError( - new TypeError('async option is deprecated') - ) }) it('Verify that worker options are set at worker creation', () => { -- 2.34.1