Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LiranCohen committed Sep 4, 2024
1 parent a2190b5 commit e1a6918
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/api/tests/dwn-api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ describe('DwnApi', () => {
await delegateHarness.createAgentDid();
});

after(async () => {
await delegateHarness.clearStorage();
await delegateHarness.closeStorage();
});

beforeEach(async () => {
sinon.restore();
await delegateHarness.syncStore.clear();
Expand Down
5 changes: 5 additions & 0 deletions packages/api/tests/record.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ describe('Record', () => {
await delegateHarness.createAgentDid();
});

after(async () => {
await delegateHarness.clearStorage();
await delegateHarness.closeStorage();
});

beforeEach(async () => {
sinon.restore();
await delegateHarness.syncStore.clear();
Expand Down

0 comments on commit e1a6918

Please sign in to comment.