diff --git a/packages/user-agent/tests/user-agent.spec.ts b/packages/user-agent/tests/user-agent.spec.ts index 320f10d85..5faae1530 100644 --- a/packages/user-agent/tests/user-agent.spec.ts +++ b/packages/user-agent/tests/user-agent.spec.ts @@ -65,7 +65,7 @@ describe('Web5UserAgent', () => { }); // Simulate terminating and restarting an app. - testAgent.closeStorage(); + await testAgent.closeStorage(); testAgent = await TestManagedAgent.create({ agentClass : Web5UserAgent, agentStores : 'dwn'