From c6351577659e22c04569748b216b1b50d5bad9da Mon Sep 17 00:00:00 2001 From: Vyacheslav Pushkin Date: Thu, 5 Dec 2019 14:04:07 +0400 Subject: [PATCH] Feature detection mechanism #20 Increased timeout for tests --- package.json | 2 +- test/cuba.spec.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index a5eec7b..293bcef 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "lint": "tslint -c tslint.json src/**/*.ts", "start-test-app": "cd test-app && ./gradlew clean && ./gradlew setupTomcat && ./gradlew startDb && ./gradlew createDb && ./gradlew restartAndWaitForInitialization", "teardown-test-app": "cd test-app && ./gradlew stop && ./gradlew stopDb", - "test:integration": "npm run start-test-app && nyc mocha -t 20000 && npm run teardown-test-app", + "test:integration": "npm run start-test-app && nyc mocha -t 30000 && npm run teardown-test-app", "test": "nyc mocha", "prepare-browser-test": "browserify test/cuba.test.js > test/cuba-browser.test.js", "compile": "tsc", diff --git a/test/cuba.spec.js b/test/cuba.spec.js index 3762e5f..ae73055 100644 --- a/test/cuba.spec.js +++ b/test/cuba.spec.js @@ -400,7 +400,6 @@ describe('CubaApp version <7.2.0', function () { const initApiVersion = '5.5.5'; before(function () { - this.timeout(20000); app = new cuba.CubaApp('', apiUrl, undefined, undefined, undefined, undefined, initApiVersion); return app.login('admin', 'admin'); });