Receive support for Sender Key
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
e5f9c0db28
commit
e6bab06510
28 changed files with 743 additions and 164 deletions
|
@ -61,6 +61,15 @@ describe('cleanDataForIpc', () => {
|
|||
});
|
||||
});
|
||||
|
||||
it('keeps Buffers in a field', () => {
|
||||
const buffer = Buffer.from('AABBCC', 'hex');
|
||||
|
||||
assert.deepEqual(cleanDataForIpc(buffer), {
|
||||
cleaned: buffer,
|
||||
pathsChanged: [],
|
||||
});
|
||||
});
|
||||
|
||||
it('converts valid dates to ISO strings', () => {
|
||||
assert.deepEqual(cleanDataForIpc(new Date(924588548000)), {
|
||||
cleaned: '1999-04-20T06:09:08.000Z',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue