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.
 
 
 
 
 
 

12 lines
357 B

/* global it */
import { LightningCustodianWallet } from './class';
let assert = require('assert');
it('can generate auth secret', () => {
let l1 = new LightningCustodianWallet();
let l2 = new LightningCustodianWallet();
l1.generate();
l2.generate();
assert.ok(l1.getSecret() !== l2.getSecret(), 'generated credentials should be the same');
});