aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-08-04 07:34:38 +0800
committerkumavis <aaron@kumavis.me>2017-08-04 07:34:38 +0800
commite223b0c7898ad49bd3df044ff72386869b0702be (patch)
treeef83989ca0e7be3e97cb851f49be73ae2c918399
parentbb8a09375dfa941a02f9d8d78c60cbcb97b3f5fe (diff)
downloadtangerine-wallet-browser-e223b0c7898ad49bd3df044ff72386869b0702be.tar
tangerine-wallet-browser-e223b0c7898ad49bd3df044ff72386869b0702be.tar.gz
tangerine-wallet-browser-e223b0c7898ad49bd3df044ff72386869b0702be.tar.bz2
tangerine-wallet-browser-e223b0c7898ad49bd3df044ff72386869b0702be.tar.lz
tangerine-wallet-browser-e223b0c7898ad49bd3df044ff72386869b0702be.tar.xz
tangerine-wallet-browser-e223b0c7898ad49bd3df044ff72386869b0702be.tar.zst
tangerine-wallet-browser-e223b0c7898ad49bd3df044ff72386869b0702be.zip
test - dont mix callback and promise
-rw-r--r--test/unit/nonce-tracker-test.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/nonce-tracker-test.js b/test/unit/nonce-tracker-test.js
index b0283e159..36025a360 100644
--- a/test/unit/nonce-tracker-test.js
+++ b/test/unit/nonce-tracker-test.js
@@ -31,12 +31,11 @@ describe('Nonce Tracker', function () {
})
describe('#getNonceLock', function () {
- it('should work', async function (done) {
+ it('should work', async function () {
this.timeout(15000)
const nonceLock = await nonceTracker.getNonceLock('0x7d3517b0d011698406d6e0aed8453f0be2697926')
assert.equal(nonceLock.nextNonce, '1', 'nonce should be 1')
await nonceLock.releaseLock()
- done()
})
})
})