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;