1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-11-22 09:46:58 +01:00

Remove unnecessary returns

This commit is contained in:
tim 2017-06-20 13:34:14 +02:00
parent 3389726cb2
commit ac0a124054

View File

@ -36,7 +36,7 @@ test('Create valid output with default amount', t => {
public_keys: ['abc'] public_keys: ['abc']
} }
const res = Transaction.makeOutput(condition) const res = Transaction.makeOutput(condition)
return t.deepEqual(res, expected) t.deepEqual(res, expected)
}) })
@ -53,7 +53,7 @@ test('Create valid output with custom amount', t => {
public_keys: ['abc'] public_keys: ['abc']
} }
const res = Transaction.makeOutput(condition, customAmount) const res = Transaction.makeOutput(condition, customAmount)
return t.deepEqual(res, expected) t.deepEqual(res, expected)
}) })
test('Pass condition not based on public_keys to makeOutput', t => { test('Pass condition not based on public_keys to makeOutput', t => {
@ -68,7 +68,7 @@ test('Pass condition not based on public_keys to makeOutput', t => {
public_keys: [] public_keys: []
} }
const res = Transaction.makeOutput(condition) const res = Transaction.makeOutput(condition)
return t.deepEqual(res, expected) t.deepEqual(res, expected)
}) })