From 4d1fa1ba7563d0d6d0eef8fc2c61c1bb7616f366 Mon Sep 17 00:00:00 2001 From: Bryan Bess Date: Wed, 30 Sep 2015 20:55:35 -0500 Subject: [PATCH] Remove unused import and add missing semicolons --- test/clipboard-action.js | 5 ++--- test/clipboard.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/test/clipboard-action.js b/test/clipboard-action.js index ace0825..a59a676 100644 --- a/test/clipboard-action.js +++ b/test/clipboard-action.js @@ -1,4 +1,3 @@ -import Clipboard from '../src/clipboard-action'; import ClipboardAction from '../src/clipboard-action'; import Emitter from 'tiny-emitter'; @@ -145,7 +144,7 @@ describe('ClipboardAction', () => { it('should fire a success event on browsers that support copy command', done => { global.stub.returns(true); - let emitter = new Emitter() + let emitter = new Emitter(); emitter.on('success', () => { done(); @@ -160,7 +159,7 @@ describe('ClipboardAction', () => { it('should fire an error event on browsers that support copy command', done => { global.stub.returns(false); - let emitter = new Emitter() + let emitter = new Emitter(); emitter.on('error', () => { done(); diff --git a/test/clipboard.js b/test/clipboard.js index b62e859..1567b18 100644 --- a/test/clipboard.js +++ b/test/clipboard.js @@ -59,7 +59,7 @@ describe('Clipboard', () => { it('should delegate a click event to the passed selector', () => { let element = document.body; - let selector = '.btn' + let selector = '.btn'; let event = 'click'; let clipboard = new Clipboard(selector);