Skip to content

Commit

Permalink
Simplify tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreibancioiu committed Oct 15, 2024
1 parent ea9ccbc commit 6e77bcb
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,9 @@ describe("test smart contract transactions outcome parser on mainnet", () => {
const parsedOutcomeGivenTransactionOnNetwork = parser.parseExecute({ transactionOnNetwork });

assert.deepEqual(parsedOutcomeGivenTransactionOutcome, parsedOutcomeGivenTransactionOnNetwork);
assert.isTrue(parsedOutcomeGivenTransactionOnNetwork.returnCode.length > 0);
assert.isTrue(parsedOutcomeGivenTransactionOnNetwork.returnMessage.length > 0);
assert.lengthOf(parsedOutcomeGivenTransactionOnNetwork.values, 0);

assert.equal(parsedOutcomeGivenTransactionOnNetwork.returnCode, "ok");
assert.equal(parsedOutcomeGivenTransactionOnNetwork.returnMessage, "ok");
assert.lengthOf(parsedOutcomeGivenTransactionOnNetwork.values, 0);
}
});

Expand Down

0 comments on commit 6e77bcb

Please sign in to comment.