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

@@ -19,6 +19,8 @@ let credentialOwnerRole: Role;
let saveCredential: SaveCredentialFunction;
jest.mock('../../../src/telemetry');
beforeAll(async () => {
app = await utils.initTestServer({ endpointGroups: ['publicApi'], applyAuth: false });
const initResult = await testDb.init();