From 09591061edb3a6fad309128de11f8c6dbb93da24 Mon Sep 17 00:00:00 2001 From: Nicolas Thouvenin Date: Fri, 13 Dec 2024 15:01:23 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20avoid=20lockx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/fusible.js | 1 + packages/core/test/fusible.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/packages/core/src/fusible.js b/packages/core/src/fusible.js index 39748722..28cdb256 100644 --- a/packages/core/src/fusible.js +++ b/packages/core/src/fusible.js @@ -55,6 +55,7 @@ export const disableFusible = (fusible) => new Promise((next, cancel) => { return next(true); }); } + return next(true); }); return true; }); diff --git a/packages/core/test/fusible.js b/packages/core/test/fusible.js index 02d3aa7d..7f5fcb7a 100644 --- a/packages/core/test/fusible.js +++ b/packages/core/test/fusible.js @@ -14,6 +14,8 @@ test('fusible', async () => { expect(isCheckOK).toBeTruthy(); const isDisable = await disableFusible(fusible); expect(isDisable).toBeTruthy(); + const isDisableBIS = await disableFusible(fusible); + expect(isDisableBIS).toBeTruthy(); const isCheckKO = await checkFusible(fusible); expect(isCheckKO).not.toBeTruthy(); });