From a89c0075b3dbcaca3504785526d80132a327f7a4 Mon Sep 17 00:00:00 2001 From: mitsujutsu Date: Mon, 12 Nov 2018 10:20:48 +0100 Subject: [PATCH] :fire: Remove outdated zero transfer amount test --- .../test/utils/get_transaction_bytes.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/packages/lisk-transactions/test/utils/get_transaction_bytes.ts b/packages/lisk-transactions/test/utils/get_transaction_bytes.ts index f454187d6..1675cb3ff 100644 --- a/packages/lisk-transactions/test/utils/get_transaction_bytes.ts +++ b/packages/lisk-transactions/test/utils/get_transaction_bytes.ts @@ -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)),