Skip to content

Commit

Permalink
attempt to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kroggen committed Oct 22, 2024
1 parent 3f8600c commit ea36c95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/wallet/test/e2e_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ describe('Wallet scenarios', async () => {
console.log('contract deployed at', receipt.contractaddress.toString());

Check warning on line 283 in packages/wallet/test/e2e_test.ts

View workflow job for this annotation

GitHub Actions / build (@herajs/common)

Unexpected console statement

Check warning on line 283 in packages/wallet/test/e2e_test.ts

View workflow job for this annotation

GitHub Actions / build (@herajs/client)

Unexpected console statement

Check warning on line 283 in packages/wallet/test/e2e_test.ts

View workflow job for this annotation

GitHub Actions / build (@herajs/crypto)

Unexpected console statement

Check warning on line 283 in packages/wallet/test/e2e_test.ts

View workflow job for this annotation

GitHub Actions / build (@herajs/wallet)

Unexpected console statement
assert.equal(receipt.status, 'CREATED', `failed with error: ${receipt.result}`);
contract.setAddress(receipt.contractaddress);
const contractId = receipt.contractaddress.value.toString('hex');
const contractId = receipt.contractaddress.value.toString();

// Call contract
// @ts-ignore
Expand All @@ -293,7 +293,7 @@ describe('Wallet scenarios', async () => {
const callTxTracker = await wallet.sendTransaction(account, callTx);
const callTxReceipt = await callTxTracker.getReceipt();
assert.equal(callTxReceipt.status, 'ERROR');
assert.equal(callTxReceipt.result, `[string "${contractId}"]:0: failed as expected`);
assert.equal(callTxReceipt.result, `${contractId}:0: failed as expected`);
}).timeout(5000);

it.skip('get account transactions', async () => {
Expand Down

0 comments on commit ea36c95

Please sign in to comment.