aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/explorer-link-test.js
blob: 8aa58bff91e0180086d8c0ab25ac5aec9ee7027d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
var assert = require('assert')
var linkGen = require('../../ui/lib/explorer-link')

describe('explorer-link', function() {

  it('adds testnet prefix to morden test network', function() {
    var result = linkGen('hash', '3')
    assert.notEqual(result.indexOf('testnet'), -1, 'testnet injected')
  })

})