aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-10-14 23:23:44 +0800
committerDan Finlay <dan@danfinlay.com>2017-10-14 23:23:44 +0800
commit06094c914b324e3debf33af374bbaa280d6dc6ef (patch)
treeb40331c2dcd8cb3c53056f82a067dee07cbb8c48 /test
parent701887bb19171b1cef0f6d5f6359d8cf39d80a01 (diff)
downloadtangerine-wallet-browser-06094c914b324e3debf33af374bbaa280d6dc6ef.tar
tangerine-wallet-browser-06094c914b324e3debf33af374bbaa280d6dc6ef.tar.gz
tangerine-wallet-browser-06094c914b324e3debf33af374bbaa280d6dc6ef.tar.bz2
tangerine-wallet-browser-06094c914b324e3debf33af374bbaa280d6dc6ef.tar.lz
tangerine-wallet-browser-06094c914b324e3debf33af374bbaa280d6dc6ef.tar.xz
tangerine-wallet-browser-06094c914b324e3debf33af374bbaa280d6dc6ef.tar.zst
tangerine-wallet-browser-06094c914b324e3debf33af374bbaa280d6dc6ef.zip
Move etherscan link logic into module
Diffstat (limited to 'test')
-rw-r--r--test/unit/account-link-test.js16
-rw-r--r--test/unit/explorer-link-test.js14
2 files changed, 0 insertions, 30 deletions
diff --git a/test/unit/account-link-test.js b/test/unit/account-link-test.js
deleted file mode 100644
index 47a961d1f..000000000
--- a/test/unit/account-link-test.js
+++ /dev/null
@@ -1,16 +0,0 @@
-var assert = require('assert')
-var linkGen = require('../../ui/lib/account-link')
-
-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 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')
- })
-})
diff --git a/test/unit/explorer-link-test.js b/test/unit/explorer-link-test.js
deleted file mode 100644
index a02564509..000000000
--- a/test/unit/explorer-link-test.js
+++ /dev/null
@@ -1,14 +0,0 @@
-var assert = require('assert')
-var linkGen = require('../../ui/lib/explorer-link')
-
-describe('explorer-link', function () {
- it('adds ropsten prefix to ropsten test network', function () {
- var result = linkGen('hash', '3')
- assert.notEqual(result.indexOf('ropsten'), -1, 'ropsten injected')
- })
-
- it('adds kovan prefix to kovan test network', function () {
- var result = linkGen('hash', '42')
- assert.notEqual(result.indexOf('kovan'), -1, 'kovan injected')
- })
-})