Use libsignal-client for parsing crash reports

This commit is contained in:
Fedor Indutny 2024-02-13 13:41:48 -08:00 committed by GitHub
parent d7f0978c6d
commit 9ad6d5b66b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 86 additions and 241 deletions

View file

@ -153,7 +153,9 @@ describe('updateConversationsWithUuidLookup', () => {
sinonSandbox.stub(window.Signal.Data, 'updateConversation');
fakeCdsLookup = sinonSandbox.stub().resolves(new Map());
fakeCdsLookup = sinonSandbox.stub().resolves({
entries: new Map(),
});
fakeCheckAccountExistence = sinonSandbox.stub().resolves(false);
fakeServer = {
cdsLookup: fakeCdsLookup,
@ -198,12 +200,12 @@ describe('updateConversationsWithUuidLookup', () => {
const aci1 = generateAci();
const aci2 = generateAci();
fakeCdsLookup.resolves(
new Map([
fakeCdsLookup.resolves({
entries: new Map([
['+13215559876', { aci: aci1, pni: undefined }],
['+16545559876', { aci: aci2, pni: undefined }],
])
);
]),
});
await updateConversationsWithUuidLookup({
conversationController: new FakeConversationController([