You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
661 B
30 lines
661 B
6 years ago
|
/**
|
||
|
* test/a-init-network.js
|
||
|
* Copyright © 2019 – Katana Cryptographic Ltd. All Rights Reserved.
|
||
|
*/
|
||
|
'use strict'
|
||
|
|
||
|
const assert = require('assert')
|
||
|
const bitcoin = require('bitcoinjs-lib')
|
||
|
const network = require('../lib/bitcoin/network')
|
||
|
network.key = 'testnet'
|
||
|
network.network = bitcoin.networks.testnet
|
||
|
const hdaHelper = require('../lib/bitcoin/hd-accounts-helper')
|
||
|
const addrHelper = require('../lib/bitcoin/addresses-helper')
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Force testnet for all the unit tests
|
||
|
*/
|
||
|
describe('InitTest', function() {
|
||
|
|
||
|
describe('initTests()', function() {
|
||
|
|
||
|
it('should successfully initialize testnet', function() {
|
||
|
assert(true)
|
||
|
})
|
||
|
|
||
|
})
|
||
|
|
||
|
})
|