From 553713c31147c32a776ea6319a1fb2a3bfc3c0d8 Mon Sep 17 00:00:00 2001 From: Vincent Date: Thu, 26 Mar 2020 13:03:46 +1100 Subject: [PATCH] revert --- integration_test/test_test.js | 74 +++++++++++++++++------------------ package.json | 2 +- 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/integration_test/test_test.js b/integration_test/test_test.js index c024d7bd8..caa2b33b4 100644 --- a/integration_test/test_test.js +++ b/integration_test/test_test.js @@ -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; - }); -}); \ No newline at end of file +// it('Can do first check', async () => { +// app = await common.startAndAssureCleanedApp(); +// return app; +// }); +// }); \ No newline at end of file diff --git a/package.json b/package.json index 439221662..e6bfcf6ca 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "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-session": "ELECTRON_DISABLE_SANDBOX=1 mocha --exit --timeout 5000000 integration_test/integration_test.js", + "test-integration-session": "ELECTRON_DISABLE_SANDBOX=1 mocha --exit --timeout 5000 integration_test/integration_test.js", "test-node": "mocha --recursive --exit test/app test/modules ts/test libloki/test/node", "test-node-coverage": "nyc --reporter=lcov --reporter=text mocha --recursive test/app test/modules ts/test libloki/test/node", "test-node-coverage-html": "nyc --reporter=lcov --reporter=html mocha --recursive test/a/* */pp test/modules ts/test libloki/test/node",