mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Fix flaky test
This commit is contained in:
@@ -33,6 +33,8 @@ describe('backup/conversations', () => {
|
||||
});
|
||||
|
||||
it('roundtrips 1:1 conversations', async () => {
|
||||
const firstUnregisteredAt = Date.now();
|
||||
|
||||
const fields: Partial<ConversationAttributesType> = {
|
||||
systemGivenName: 'systemGivenName',
|
||||
systemFamilyName: 'systemFamilyName',
|
||||
@@ -48,8 +50,8 @@ describe('backup/conversations', () => {
|
||||
e164: '+16175550000',
|
||||
pni: generatePni(),
|
||||
removalStage: 'justNotification',
|
||||
firstUnregisteredAt: Date.now(),
|
||||
discoveredUnregisteredAt: Date.now(),
|
||||
firstUnregisteredAt,
|
||||
discoveredUnregisteredAt: firstUnregisteredAt,
|
||||
profileKey: Bytes.toBase64(randomBytes(32)),
|
||||
profileSharing: true,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user