mirror of
https://github.com/tomru/switchmon.git
synced 2026-03-02 22:17:23 +01:00
use es6 function everywhere
This commit is contained in:
@@ -15,7 +15,7 @@ describe('config', () => {
|
|||||||
xdgBasedirConfigStub = sandbox.stub();
|
xdgBasedirConfigStub = sandbox.stub();
|
||||||
});
|
});
|
||||||
|
|
||||||
afterEach(function() {
|
afterEach(() => {
|
||||||
sandbox.restore();
|
sandbox.restore();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user