UNPKG

558 Btext/coffeescriptView Raw
1YouBase = require('../lib/index')
2Wallet = require('../lib/wallet')
3Custodian = require('../lib/custodian')
4
5expect = require('chai').expect
6_ = require('lodash')
7
8describe '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