mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-02 06:11:32 +01:00
Use libsignal-client for parsing crash reports
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user