Skip to content

Commit d82e6f9

Browse files
test: fix test expected value
1 parent 29dabca commit d82e6f9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/e2e/constructor.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,7 @@ describe('IExecWeb3mail()', () => {
175175
arbitrumSepoliaConfig!.ipfsGateway
176176
);
177177
expect(web3mail['ipfsNode']).toBe(arbitrumSepoliaConfig!.ipfsUploadUrl);
178-
expect(web3mail['dappAddressOrENS']).toBe(
179-
arbitrumSepoliaConfig!.dappAddress
180-
);
178+
expect(web3mail['dappAddressOrENS']).toMatch(/^0x[a-fA-F0-9]{40}$/); // resolved from Compass
181179
expect(web3mail['dappWhitelistAddress']).toBe(
182180
arbitrumSepoliaConfig!.whitelistSmartContract.toLowerCase()
183181
);

0 commit comments

Comments
 (0)