test: fix provision test

This commit is contained in:
Girish Ramakrishnan
2025-06-06 15:48:21 +02:00
parent 1fa8395847
commit 0f3eb42332
3 changed files with 20 additions and 5 deletions

View File

@@ -17,7 +17,10 @@ describe('Provision', function () {
const { domainSetup, auditSource, cleanup } = common;
describe('Activate', function () {
before(domainSetup);
before(async function () {
await domainSetup();
if (!nock.isActive()) nock.activate();
});
after(cleanup);
it('cannot activate when appstore unreachable', async function () {