You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/ts/test/session/integration/integration_test.ts

36 lines
1.1 KiB
TypeScript

// import { expect } from 'chai';
// import * as sinon from 'sinon';
// import { TestUtils } from '../../test-utils';
// import { PairingAuthorisation } from '../../../../js/modules/data';
// import { MultiDeviceProtocol } from '../../../session/protocols';
// import { PubKey } from '../../../session/types';
// import { UserUtil } from '../../../util';
// import { StringUtils } from '../../../session/utils';
import { Common } from './common';
// tslint:disable: no-import-side-effect
import './registration_test';
import './open_group_test';
import './add_contacts_test';
import './link_device_test';
// import './closed_group_test';
// import './message_functions_test';
// import './settings_test';
// import'./message_sync_test';
// import './sender_keys_test';
before(async () => {
// start the app once before all tests to get the platform-dependent
// path of user data and store it to common.USER_DATA_ROOT_FOLDER
const app1 = await Common.startApp();
const ret = await app1.electron.remote.app.getPath(
'appData'
) as any;
Common.USER_DATA_ROOT_FOLDER = ret;
await Common.stopApp(app1);
});