BlueWallet/LightningCustodianWallet.test.js
2018-08-19 15:54:15 +01:00

13 lines
361 B
JavaScript

/* 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');
});