mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-19 05:45:15 +01:00
13 lines
361 B
JavaScript
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');
|
|
});
|