Skip to content

Commit 277c7e8

Browse files
committed
Fix test
1 parent 5f86401 commit 277c7e8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎packages/core/src/blade/button/api/button-test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ describe(ButtonApi.name, () => {
8484
assert.fail('should not be called');
8585
};
8686
api.on('click', handler);
87+
api.off('click', handler);
8788
api.controller.buttonController.view.buttonElement.dispatchEvent(
8889
TestUtil.createEvent(win, 'click'),
8990
);

0 commit comments

Comments
 (0)