use es6 function everywhere

This commit is contained in:
Thomas Ruoff
2016-03-14 13:19:22 +01:00
parent 52ba27e092
commit 5d945c8f66
2 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ describe('config', () => {
xdgBasedirConfigStub = sandbox.stub(); xdgBasedirConfigStub = sandbox.stub();
}); });
afterEach(function() { afterEach(() => {
sandbox.restore(); sandbox.restore();
}); });

View File

@@ -11,7 +11,7 @@ describe('swm', () => {
sandbox = sinon.sandbox.create(); sandbox = sinon.sandbox.create();
}); });
afterEach(function() { afterEach(() => {
sandbox.restore(); sandbox.restore();
}); });
@@ -149,7 +149,7 @@ describe('swm', () => {
}); });
}); });
describe('executePostCmd', function() { describe('executePostCmd', () => {
let execStub; let execStub;
let swm; let swm;