revert
parent
aac18cd683
commit
553713c311
@ -1,45 +1,45 @@
|
||||
/* eslint-disable func-names */
|
||||
/* eslint-disable import/no-extraneous-dependencies */
|
||||
const common = require('./common');
|
||||
const { afterEach, beforeEach, describe, it } = require('mocha');
|
||||
// /* eslint-disable func-names */
|
||||
// /* eslint-disable import/no-extraneous-dependencies */
|
||||
// const common = require('./common');
|
||||
// const { afterEach, beforeEach, describe, it } = require('mocha');
|
||||
|
||||
|
||||
describe('Do Vince test', function() {
|
||||
let app;
|
||||
let app2;
|
||||
this.timeout(60000);
|
||||
this.slow(15000);
|
||||
// describe('Do Vince test', function() {
|
||||
// let app;
|
||||
// let app2;
|
||||
// this.timeout(60000);
|
||||
// this.slow(15000);
|
||||
|
||||
beforeEach(async () => {
|
||||
await common.killallElectron();
|
||||
await common.stopStubSnodeServer();
|
||||
// beforeEach(async () => {
|
||||
// await common.killallElectron();
|
||||
// await common.stopStubSnodeServer();
|
||||
|
||||
const app1Props = {
|
||||
mnemonic: common.TEST_MNEMONIC1,
|
||||
displayName: common.TEST_DISPLAY_NAME1,
|
||||
stubSnode: true,
|
||||
};
|
||||
// const app1Props = {
|
||||
// mnemonic: common.TEST_MNEMONIC1,
|
||||
// displayName: common.TEST_DISPLAY_NAME1,
|
||||
// stubSnode: true,
|
||||
// };
|
||||
|
||||
const app2Props = {
|
||||
mnemonic: common.TEST_MNEMONIC2,
|
||||
displayName: common.TEST_DISPLAY_NAME2,
|
||||
stubSnode: true,
|
||||
};
|
||||
// const app2Props = {
|
||||
// mnemonic: common.TEST_MNEMONIC2,
|
||||
// displayName: common.TEST_DISPLAY_NAME2,
|
||||
// stubSnode: true,
|
||||
// };
|
||||
|
||||
[app, app2] = await Promise.all([
|
||||
common.startAndStub(app1Props),
|
||||
common.startAndStub2(app2Props),
|
||||
]);
|
||||
});
|
||||
// [app, app2] = await Promise.all([
|
||||
// common.startAndStub(app1Props),
|
||||
// common.startAndStub2(app2Props),
|
||||
// ]);
|
||||
// });
|
||||
|
||||
afterEach(async () => {
|
||||
await common.stopApp(app);
|
||||
await common.killallElectron();
|
||||
await common.stopStubSnodeServer();
|
||||
});
|
||||
// afterEach(async () => {
|
||||
// await common.stopApp(app);
|
||||
// await common.killallElectron();
|
||||
// await common.stopStubSnodeServer();
|
||||
// });
|
||||
|
||||
it('Can do first check', async () => {
|
||||
app = await common.startAndAssureCleanedApp();
|
||||
return app;
|
||||
});
|
||||
});
|
||||
// it('Can do first check', async () => {
|
||||
// app = await common.startAndAssureCleanedApp();
|
||||
// return app;
|
||||
// });
|
||||
// });
|
Loading…
Reference in New Issue