Support for translating Desktop sessions to libsignal-client sessions

This commit is contained in:
Scott Nonnenberg 2021-03-04 12:01:34 -08:00 committed by Josh Perez
parent 44dfd28017
commit c73e35b1b6
7 changed files with 1513 additions and 73 deletions

View file

@ -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()