mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
👕 Fix "'disposable' is assigned a value but never used"
This commit is contained in:
@@ -91,7 +91,7 @@ describe('TooltipManager', function () {
|
||||
|
||||
describe("when the trigger is 'click'", () =>
|
||||
it('shows and hides the tooltip when the target element is clicked', function () {
|
||||
const disposable = manager.add(element, {title: 'Title', trigger: 'click'})
|
||||
manager.add(element, {title: 'Title', trigger: 'click'})
|
||||
expect(document.body.querySelector('.tooltip')).toBeNull()
|
||||
element.click()
|
||||
expect(document.body.querySelector('.tooltip')).not.toBeNull()
|
||||
|
||||
Reference in New Issue
Block a user