aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-08-19 07:23:12 +0800
committerDan Finlay <dan@danfinlay.com>2016-08-19 07:23:12 +0800
commitbd9d89826c2bbd6e91a088040b7708de89658d1a (patch)
tree45a339a83cd561c30f997eddf2364ac54bbd6c48 /test/unit
parent7389f9d0a0e1f798607ea8eea25583f8af854358 (diff)
downloadtangerine-wallet-browser-bd9d89826c2bbd6e91a088040b7708de89658d1a.tar
tangerine-wallet-browser-bd9d89826c2bbd6e91a088040b7708de89658d1a.tar.gz
tangerine-wallet-browser-bd9d89826c2bbd6e91a088040b7708de89658d1a.tar.bz2
tangerine-wallet-browser-bd9d89826c2bbd6e91a088040b7708de89658d1a.tar.lz
tangerine-wallet-browser-bd9d89826c2bbd6e91a088040b7708de89658d1a.tar.xz
tangerine-wallet-browser-bd9d89826c2bbd6e91a088040b7708de89658d1a.tar.zst
tangerine-wallet-browser-bd9d89826c2bbd6e91a088040b7708de89658d1a.zip
Added `view more` button to transaction list
Visible at the end of the transaction list, or if no transactions are listed, displayed right after the `No Transactions` message.
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/account-link-test.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/unit/account-link-test.js b/test/unit/account-link-test.js
new file mode 100644
index 000000000..39889b6be
--- /dev/null
+++ b/test/unit/account-link-test.js
@@ -0,0 +1,12 @@
+var assert = require('assert')
+var linkGen = require('../../ui/lib/account-link')
+
+describe('account-link', function() {
+
+ it('adds testnet prefix to morden test network', function() {
+ var result = linkGen('account', '2')
+ assert.notEqual(result.indexOf('testnet'), -1, 'testnet injected')
+ assert.notEqual(result.indexOf('account'), -1, 'account included')
+ })
+
+})