Skip to content

Commit

Permalink
Merge pull request #163 from aergoio/topic/fix-tests
Browse files Browse the repository at this point in the history
fix tests
  • Loading branch information
kroggen authored Oct 22, 2024
2 parents c55336f + 8d24876 commit 7bc4a51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

- name: Start Docker services
run: |
docker run -d -p 7845:7845 --name aergosvr aergo/node:2.2 aergosvr --config /aergo/testmode.toml
docker run -d -p 7845:7845 --name aergosvr aergo/node:2.6.0 aergosvr --config /aergo/testmode.toml
- name: Run Lerna pre-scripts
run: |
Expand Down
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.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 7bc4a51

Please sign in to comment.