test(API): Fix issues with Public API tests (#3515)

This commit is contained in:
Ricardo Espinoza
2022-06-18 01:20:21 -04:00
committed by GitHub
parent 189009a8b7
commit c4b63fa999
3 changed files with 9 additions and 2 deletions

View File

@@ -8,6 +8,8 @@ import { randomApiKey } from '../shared/random';
import * as utils from '../shared/utils';
import * as testDb from '../shared/testDb';
jest.mock('../../../src/telemetry');
let app: express.Application;
let testDbName = '';
let globalOwnerRole: Role;