aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/explorer-link-test.js
blob: 961b400fdf5b74183be25d9d1b4c1ba2dfa2d3d3 (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', '2')
    assert.notEqual(result.indexOf('testnet'), -1, 'testnet injected')
  })

})