mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 18:38:15 +01:00
Simplify source file dependency graph
This commit is contained in:
@@ -6,6 +6,7 @@ import lodash from 'lodash';
|
||||
import * as sinon from 'sinon';
|
||||
|
||||
import { getRandomBytes } from '../../Crypto.js';
|
||||
import { generateKeyPair } from '../../Curve.js';
|
||||
import AccountManager from '../../textsecure/AccountManager.js';
|
||||
import type {
|
||||
KyberPreKeyType,
|
||||
@@ -29,7 +30,7 @@ describe('AccountManager', () => {
|
||||
|
||||
const ourAci = generateAci();
|
||||
const ourPni = generatePni();
|
||||
const identityKey = window.Signal.Curve.generateKeyPair();
|
||||
const identityKey = generateKeyPair();
|
||||
const pubKey = getRandomBytes(33);
|
||||
const privKey = getRandomBytes(32);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user