aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2016-11-23 04:14:25 +0800
committerGitHub <noreply@github.com>2016-11-23 04:14:25 +0800
commit49a1f43736a209f4d003a1bebe35defe281296b1 (patch)
treeca121f1e43cd3cf823999449ccc04ff9b3854f4a /test
parentfa2f0dee285d4a9032f8a756ee8711a7fe767b76 (diff)
parentb9d73a4b8fd8aa88aa1cf51e8305db9809dd7b9d (diff)
downloadtangerine-wallet-browser-49a1f43736a209f4d003a1bebe35defe281296b1.tar.gz
tangerine-wallet-browser-49a1f43736a209f4d003a1bebe35defe281296b1.tar.zst
tangerine-wallet-browser-49a1f43736a209f4d003a1bebe35defe281296b1.zip
Merge branch 'master' into i868-estimateGasTooHigh
Diffstat (limited to 'test')
-rw-r--r--test/unit/account-link-test.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/unit/account-link-test.js b/test/unit/account-link-test.js
index 39889b6be..4ea12e002 100644
--- a/test/unit/account-link-test.js
+++ b/test/unit/account-link-test.js
@@ -3,9 +3,15 @@ var linkGen = require('../../ui/lib/account-link')
describe('account-link', function() {
- it('adds testnet prefix to morden test network', function() {
+ it('adds morden prefix to morden test network', function() {
var result = linkGen('account', '2')
- assert.notEqual(result.indexOf('testnet'), -1, 'testnet injected')
+ assert.notEqual(result.indexOf('morden'), -1, 'testnet included')
+ assert.notEqual(result.indexOf('account'), -1, 'account included')
+ })
+
+ it('adds testnet prefix to ropsten test network', function() {
+ var result = linkGen('account', '3')
+ assert.notEqual(result.indexOf('testnet'), -1, 'testnet included')
assert.notEqual(result.indexOf('account'), -1, 'account included')
})