Skip to content

Commit

Permalink
fix: 🐛 avoid lockx
Browse files Browse the repository at this point in the history
  • Loading branch information
touv committed Dec 13, 2024
1 parent c5005c0 commit 0959106
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/fusible.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export const disableFusible = (fusible) => new Promise((next, cancel) => {
return next(true);
});
}
return next(true);
});
return true;
});
Expand Down
2 changes: 2 additions & 0 deletions packages/core/test/fusible.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
Expand Down

0 comments on commit 0959106

Please sign in to comment.