Skip to content

Commit

Permalink
Update ardrive.int.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagocarvalhodev committed Jul 19, 2024
1 parent a241177 commit 1b1d8b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration/ardrive.int.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ describe('ArDrive class - integrated', () => {
);

const walletOwner = stubArweaveAddress();

// Use copies to expose any issues with object equality in tested code
const expectedDriveId = EID(stubEntityID.toString());
const unexpectedDriveId = EID(stubEntityIDAlt.toString());
Expand Down Expand Up @@ -220,6 +221,7 @@ describe('ArDrive class - integrated', () => {
stub(walletDao, 'walletHasBalance').resolves(true);
stub(wallet, 'getAddress').resolves(walletOwner);
stub(arfsDao, 'getDriveIDForEntityId').resolves(expectedDriveId);
stub(arfsDao, 'assertDrivePrivacy').resolves();
});

describe('utility function', () => {
Expand Down

0 comments on commit 1b1d8b5

Please sign in to comment.