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(); });