diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2017-10-17 02:31:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-17 02:31:05 +0800 |
commit | d9f5e6beb20c5465b1113c8c03c231eabe3d0427 (patch) | |
tree | a0457a758dd6d13eaf85f63310d157b5fde14c45 /test | |
parent | 42e3261c9868c33123d7efadfe4d137fa8d83629 (diff) | |
parent | 06094c914b324e3debf33af374bbaa280d6dc6ef (diff) | |
download | tangerine-wallet-browser-d9f5e6beb20c5465b1113c8c03c231eabe3d0427.tar tangerine-wallet-browser-d9f5e6beb20c5465b1113c8c03c231eabe3d0427.tar.gz tangerine-wallet-browser-d9f5e6beb20c5465b1113c8c03c231eabe3d0427.tar.bz2 tangerine-wallet-browser-d9f5e6beb20c5465b1113c8c03c231eabe3d0427.tar.lz tangerine-wallet-browser-d9f5e6beb20c5465b1113c8c03c231eabe3d0427.tar.xz tangerine-wallet-browser-d9f5e6beb20c5465b1113c8c03c231eabe3d0427.tar.zst tangerine-wallet-browser-d9f5e6beb20c5465b1113c8c03c231eabe3d0427.zip |
Merge pull request #2370 from MetaMask/MoveOutEtherscanLinkGeneration
Move etherscan link logic into module
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/account-link-test.js | 16 | ||||
-rw-r--r-- | test/unit/explorer-link-test.js | 14 |
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') - }) -}) |