tests: cleanup common variables
This commit is contained in:
@@ -12,8 +12,10 @@ const common = require('./common.js'),
|
||||
tokens = require('../tokens.js');
|
||||
|
||||
describe('janitor', function () {
|
||||
before(common.setup);
|
||||
after(common.cleanup);
|
||||
const { setup, cleanup } = common;
|
||||
|
||||
before(setup);
|
||||
after(cleanup);
|
||||
|
||||
const token1 = {
|
||||
name: 'token1',
|
||||
|
||||
Reference in New Issue
Block a user