aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/account-link-test.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2017-06-13 04:27:04 +0800
committerGitHub <noreply@github.com>2017-06-13 04:27:04 +0800
commit27220b7bcd5ea1ebdae3bc1b494d28d9c828918c (patch)
treec9385fba3d742ca9cbfb9f3b4c6c9ef29c4f4a1b /test/unit/account-link-test.js
parent57d1a1f1860e50837104a10b7b9f86d398c795ec (diff)
parent8af41f1b0539e70cf4c6e1f4a9f4b10ad13656fc (diff)
downloadtangerine-wallet-browser-27220b7bcd5ea1ebdae3bc1b494d28d9c828918c.tar
tangerine-wallet-browser-27220b7bcd5ea1ebdae3bc1b494d28d9c828918c.tar.gz
tangerine-wallet-browser-27220b7bcd5ea1ebdae3bc1b494d28d9c828918c.tar.bz2
tangerine-wallet-browser-27220b7bcd5ea1ebdae3bc1b494d28d9c828918c.tar.lz
tangerine-wallet-browser-27220b7bcd5ea1ebdae3bc1b494d28d9c828918c.tar.xz
tangerine-wallet-browser-27220b7bcd5ea1ebdae3bc1b494d28d9c828918c.tar.zst
tangerine-wallet-browser-27220b7bcd5ea1ebdae3bc1b494d28d9c828918c.zip
Merge branch 'master' into i#1203MainNetSwitch
Diffstat (limited to 'test/unit/account-link-test.js')
-rw-r--r--test/unit/account-link-test.js16
1 files changed, 7 insertions, 9 deletions
diff --git a/test/unit/account-link-test.js b/test/unit/account-link-test.js
index 4ea12e002..47a961d1f 100644
--- a/test/unit/account-link-test.js
+++ b/test/unit/account-link-test.js
@@ -1,18 +1,16 @@
var assert = require('assert')
var linkGen = require('../../ui/lib/account-link')
-describe('account-link', function() {
-
- it('adds morden prefix to morden test network', function() {
- var result = linkGen('account', '2')
- assert.notEqual(result.indexOf('morden'), -1, 'testnet included')
+describe('account-link', function () {
+ it('adds ropsten prefix to ropsten test network', function () {
+ var result = linkGen('account', '3')
+ assert.notEqual(result.indexOf('ropsten'), -1, 'ropsten 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')
+ it('adds kovan prefix to kovan test network', function () {
+ var result = linkGen('account', '42')
+ assert.notEqual(result.indexOf('kovan'), -1, 'kovan included')
assert.notEqual(result.indexOf('account'), -1, 'account included')
})
-
})