mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
Make event name helper and use it on tooltip & popover to reduce dist sizes (#35856)
* feat: create eventName getter function in baseComponent * refactor: use `eventName` getter on tooltip & popover
This commit is contained in:
@@ -42,12 +42,6 @@ describe('Tooltip', () => {
|
||||
})
|
||||
})
|
||||
|
||||
describe('Event', () => {
|
||||
it('should return plugin events', () => {
|
||||
expect(Tooltip.Event).toEqual(jasmine.any(Object))
|
||||
})
|
||||
})
|
||||
|
||||
describe('EVENT_KEY', () => {
|
||||
it('should return plugin event key', () => {
|
||||
expect(Tooltip.EVENT_KEY).toEqual('.bs.tooltip')
|
||||
|
||||
Reference in New Issue
Block a user