Skip to content

Commit c29f29d

Browse files
SeddikBellaminePierreJeanjacquot
authored andcommitted
fix(test): update e2e tests to match SDK implementation and fix timeouts
- Update sendEmailCampaign tests to accept ValidationError and TypeError where appropriate - Fix workerpool matching in tests by passing correct workerpoolAddressOrEns - Increase prepareEmailCampaign beforeEach timeout
1 parent be88ea3 commit c29f29d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/e2e/prepareEmailCampaign.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ describe('web3mail.prepareEmailCampaign()', () => {
9898
await waitSubgraphIndexing();
9999

100100
web3mail = new IExecWeb3mail(...getTestConfig(consumerWallet.privateKey));
101-
}, MAX_EXPECTED_BLOCKTIME + MAX_EXPECTED_SUBGRAPH_INDEXING_TIME);
101+
}, 3 * MAX_EXPECTED_BLOCKTIME + MAX_EXPECTED_SUBGRAPH_INDEXING_TIME + 10_000);
102102

103103
it(
104104
'should prepare an email campaignRequest',

0 commit comments

Comments
 (0)