Support for translating Desktop sessions to libsignal-client sessions
This commit is contained in:
parent
44dfd28017
commit
c73e35b1b6
7 changed files with 1513 additions and 73 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
/* eslint-disable no-console */
|
||||
|
||||
const ByteBuffer = require('../components/bytebuffer/dist/ByteBufferAB.js');
|
||||
const { setEnvironment, Environment } = require('../ts/environment');
|
||||
|
||||
before(() => {
|
||||
|
@ -17,6 +18,9 @@ global.window = {
|
|||
error: (...args) => console.error(...args),
|
||||
},
|
||||
i18n: key => `i18n(${key})`,
|
||||
dcodeIO: {
|
||||
ByteBuffer,
|
||||
},
|
||||
};
|
||||
|
||||
// For ducks/network.getEmptyState()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue