From c911ba0f53a51860cf82300f6e73d0b9f8f2d756 Mon Sep 17 00:00:00 2001 From: Rafael Fragoso Date: Thu, 15 Oct 2015 21:24:06 -0300 Subject: [PATCH] Replacing anonymous functions with arrow functions to keep the pattern --- test/clipboard.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/clipboard.js b/test/clipboard.js index ec2a8f4..173fe40 100644 --- a/test/clipboard.js +++ b/test/clipboard.js @@ -18,7 +18,7 @@ describe('Clipboard', () => { document.body.innerHTML = ''; }); - describe('#resolveOptions', function() { + describe('#resolveOptions', () => { before(() => { global.fn = function() {}; }); @@ -48,7 +48,7 @@ describe('Clipboard', () => { }); }); - describe('#delegateClick', function() { + describe('#delegateClick', () => { before(() => { global.spy = sinon.spy(Delegate, 'bind'); }); @@ -69,7 +69,7 @@ describe('Clipboard', () => { }); }); - describe('#undelegateClick', function() { + describe('#undelegateClick', () => { before(() => { global.spy = sinon.spy(Delegate, 'unbind'); });