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.

13 lines
361 B

6 years ago
/* 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 not be the same');
6 years ago
});