Skip to content
This repository has been archived by the owner on Dec 13, 2019. It is now read-only.

Commit

Permalink
Feature detection mechanism #20
Browse files Browse the repository at this point in the history
Increased timeout for tests
  • Loading branch information
vyacheslav-pushkin committed Dec 5, 2019
1 parent f71ec45 commit c635157
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion test/cuba.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});
Expand Down

0 comments on commit c635157

Please sign in to comment.