tests: cleanup common variables

This commit is contained in:
Girish Ramakrishnan
2021-08-13 10:41:10 -07:00
parent aa981da43b
commit a8760f6c2c
20 changed files with 393 additions and 404 deletions
+4 -2
View File
@@ -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',