tests: cleanup common variables
This commit is contained in:
@@ -11,8 +11,10 @@ const common = require('./common.js'),
|
||||
system = require('../system.js');
|
||||
|
||||
describe('System', function () {
|
||||
before(common.setup);
|
||||
after(common.cleanup);
|
||||
const { setup, cleanup } = common;
|
||||
|
||||
before(setup);
|
||||
after(cleanup);
|
||||
|
||||
it('can get disks', function (done) {
|
||||
system.getDisks(function (error, disks) {
|
||||
|
||||
Reference in New Issue
Block a user