aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/explorer-link-test.js
diff options
context:
space:
mode:
authorThomas Huang <thomas.b.huang@gmail.com>2017-05-05 05:35:10 +0800
committerThomas Huang <thomas.b.huang@gmail.com>2017-05-05 05:35:10 +0800
commit0b13429daf00ddd5bdf2705c7a95d7a9d5792f54 (patch)
treef249d8deb5fa48db54d70757de944b2c8ff76a2e /test/unit/explorer-link-test.js
parent8f5334e4aca8b95963f57b0fbf862256b692dbd9 (diff)
downloadtangerine-wallet-browser-0b13429daf00ddd5bdf2705c7a95d7a9d5792f54.tar.gz
tangerine-wallet-browser-0b13429daf00ddd5bdf2705c7a95d7a9d5792f54.tar.zst
tangerine-wallet-browser-0b13429daf00ddd5bdf2705c7a95d7a9d5792f54.zip
Lint tests
Diffstat (limited to 'test/unit/explorer-link-test.js')
-rw-r--r--test/unit/explorer-link-test.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/unit/explorer-link-test.js b/test/unit/explorer-link-test.js
index 4f0230c2c..e672b36ed 100644
--- a/test/unit/explorer-link-test.js
+++ b/test/unit/explorer-link-test.js
@@ -1,14 +1,13 @@
var assert = require('assert')
var linkGen = require('../../ui/lib/explorer-link')
-describe('explorer-link', function() {
-
- it('adds ropsten prefix to ropsten test network', function() {
+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() {
+ it('adds kovan prefix to kovan test network', function () {
var result = linkGen('hash', '42')
assert.notEqual(result.indexOf('kovan'), -1, 'kovan injected')
})