1 | YouBase = require('../lib/index')
|
2 | Wallet = require('../lib/wallet')
|
3 | Custodian = require('../lib/custodian')
|
4 |
|
5 | expect = require('chai').expect
|
6 | _ = require('lodash')
|
7 |
|
8 | describe 'YouBase', ->
|
9 | before ->
|
10 | @validMnemonic = 'travel awake spin pony decide disorder swallow wait napkin panther mad crash'
|
11 | @privateExtendedKey = 'xprv9s21ZrQH143K2jzgJNDNFpkbyC1oUmuBkgp7BZtvk1QUu4McmfWMdfzWqXCThRY8zPZh5p2CsKi9dg2m6YmkfL9QtRDL7UBZcth5BpmKDrb'
|
12 |
|
13 | it 'should set a custodian', ->
|
14 | result = YouBase()
|
15 | expect(result.custodian).to.be.an.instanceOf(Custodian)
|
16 |
|