Skip to content
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.

Commit

Permalink
Merge pull request #840 from LiskHQ/837-Update_zero_amount_test
Browse files Browse the repository at this point in the history
Remove outdated zero transfer amount test - Closes #837
  • Loading branch information
shuse2 authored Nov 13, 2018
2 parents cfdbddf + a89c007 commit 678c916
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions packages/lisk-transactions/test/utils/get_transaction_bytes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,17 +125,6 @@ describe('getTransactionBytes module', () => {
);
});

it('should not throw on type 0 with an amount that is 0', () => {
const amount = 0;
const transaction = {
...defaultTransaction,
amount,
};
return expect(
getTransactionBytes.bind(null, transaction),
).not.to.throw();
});

it('should throw on type 0 with an amount that is too large', () => {
const amount = BigNum.fromBuffer(
Buffer.from(new Array(8).fill(255)),
Expand Down

0 comments on commit 678c916

Please sign in to comment.