From 5d945c8f664f512d15ba10b93bc2227db6f85d90 Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Mon, 14 Mar 2016 13:19:22 +0100 Subject: [PATCH] use es6 function everywhere --- test/config.tests.js | 2 +- test/swm.tests.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/config.tests.js b/test/config.tests.js index 035a5d6..6a0ee81 100644 --- a/test/config.tests.js +++ b/test/config.tests.js @@ -15,7 +15,7 @@ describe('config', () => { xdgBasedirConfigStub = sandbox.stub(); }); - afterEach(function() { + afterEach(() => { sandbox.restore(); }); diff --git a/test/swm.tests.js b/test/swm.tests.js index 2a212c4..a8c0165 100644 --- a/test/swm.tests.js +++ b/test/swm.tests.js @@ -11,7 +11,7 @@ describe('swm', () => { sandbox = sinon.sandbox.create(); }); - afterEach(function() { + afterEach(() => { sandbox.restore(); }); @@ -149,7 +149,7 @@ describe('swm', () => { }); }); - describe('executePostCmd', function() { + describe('executePostCmd', () => { let execStub; let swm;