1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2025-02-14 21:10:32 +01:00

Comply to eslint 🔫

This commit is contained in:
tim 2017-06-20 11:03:19 +02:00
parent 44896b98dc
commit 3fdaf40602
3 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,6 @@
import test from 'ava' import test from 'ava'
import sinon from 'sinon' import sinon from 'sinon'
import * as request from '../../src/request' // eslint-disable-line import * as request from '../../src/request' // eslint-disable-line
import { Connection } from '../../src' import { Connection } from '../../src'

View File

@ -71,7 +71,7 @@ test('Valid TRANSFER transaction with single Ed25519 input', t => {
return conn.postTransaction(transferTxSigned) return conn.postTransaction(transferTxSigned)
.then(({ id }) => conn.pollStatusAndFetchTransaction(id)) .then(({ id }) => conn.pollStatusAndFetchTransaction(id))
.then(resTx => t.truthy(resTx)) .then(resTx => t.truthy(resTx))
}) })
}) })
@ -106,5 +106,5 @@ test('Valid TRANSFER transaction with multiple Ed25519 inputs', t => {
return conn.postTransaction(transferTxSigned) return conn.postTransaction(transferTxSigned)
.then(({ id }) => conn.pollStatusAndFetchTransaction(id)) .then(({ id }) => conn.pollStatusAndFetchTransaction(id))
.then(resTx => t.truthy(resTx)) .then(resTx => t.truthy(resTx))
}) })
}) })

View File

@ -7,9 +7,7 @@ import makeInputTemplate from '../../src/transaction/makeInputTemplate'
import { import {
alice, alice,
aliceCondition,
aliceOutput, aliceOutput,
assetMessage,
metaDataMessage, metaDataMessage,
createTx, createTx,
transferTx transferTx