move integration tests to _itest.ts suffix

pull/1287/head
Audric Ackermann 5 years ago
parent 38b9736314
commit 878619a0bc
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -31,8 +31,8 @@
"test-lib-view": "NODE_ENV=test-lib yarn run start",
"test-loki-view": "NODE_ENV=test-loki yarn run start",
"test-electron": "yarn grunt test",
"test-integration": "ELECTRON_DISABLE_SANDBOX=1 mocha --exit --full-trace --timeout 10000 ts/test/session/integration/integration_test.js",
"test-node": "mocha --recursive --exit test/app test/modules ts/test libloki/test/node --timeout 10000",
"test-integration": "ELECTRON_DISABLE_SANDBOX=1 mocha --exit --full-trace --timeout 10000 ts/test/session/integration/integration_itest.js",
"test-node": "mocha --recursive --exit --timeout 10000 test/app test/modules \"./ts/test/**/*_test.js\" libloki/test/node ",
"test-session": "mocha --recursive --exit ts/test/session/unit --full-trace --timeout 10000",
"test-medium-groups": "ELECTRON_DISABLE_SANDBOX=1 mocha --exit --timeout 10000 integration_test/integration_test.js --grep 'senderkeys'",
"test-groups": "ELECTRON_DISABLE_SANDBOX=1 mocha --exit --timeout 10000 integration_test/integration_test.js --grep 'Closed groups'",

@ -2,15 +2,15 @@ import { Common } from './common';
// tslint:disable: no-import-side-effect no-invalid-this await-promise
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';
import './registration_itest';
import './open_group_itest';
import './add_contacts_itest';
import './link_device_itest';
// import './closed_group_itest';
// import './message_functions_itest';
// import './settings_itest';
// import'./message_sync_itest';
// import './sender_keys_itest';
before(async function() {
// start the app once before all tests to get the platform-dependent
Loading…
Cancel
Save