diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-08-03 07:07:18 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-08-03 07:07:18 +0800 |
commit | 0808eb22562ac9a64b00cb5aa54856ac8c1ea18c (patch) | |
tree | cac8ed3f29883fbc2cf522cecff26fd3e62b1a20 | |
parent | b80c7e417bfa3adf338170472ba4c4c6733e8402 (diff) | |
download | tangerine-wallet-browser-0808eb22562ac9a64b00cb5aa54856ac8c1ea18c.tar tangerine-wallet-browser-0808eb22562ac9a64b00cb5aa54856ac8c1ea18c.tar.gz tangerine-wallet-browser-0808eb22562ac9a64b00cb5aa54856ac8c1ea18c.tar.bz2 tangerine-wallet-browser-0808eb22562ac9a64b00cb5aa54856ac8c1ea18c.tar.lz tangerine-wallet-browser-0808eb22562ac9a64b00cb5aa54856ac8c1ea18c.tar.xz tangerine-wallet-browser-0808eb22562ac9a64b00cb5aa54856ac8c1ea18c.tar.zst tangerine-wallet-browser-0808eb22562ac9a64b00cb5aa54856ac8c1ea18c.zip |
fix test
-rw-r--r-- | test/unit/tx-controller-test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/tx-controller-test.js b/test/unit/tx-controller-test.js index c7743a7c6..f290088a1 100644 --- a/test/unit/tx-controller-test.js +++ b/test/unit/tx-controller-test.js @@ -108,7 +108,7 @@ describe('Transaction Controller', function () { describe('#addUnapprovedTransaction', function () { it('should add an unapproved transaction and return a valid txMeta', function (done) { - const addTxDefaultsStub = sinon.stub(txController, 'addTxDefaults').callsFake(() => Promise.resolve) + const addTxDefaultsStub = sinon.stub(txController, 'addTxDefaults').callsFake(() => Promise.resolve()) txController.addUnapprovedTransaction({}) .then((txMeta) => { assert(('id' in txMeta), 'should have a id') |