Skip to content

Commit

Permalink
increasing timeouts for travisCI, that seems to have gotten slower
Browse files Browse the repository at this point in the history
  • Loading branch information
elrido committed Oct 8, 2017
1 parent cd5fded commit 81ac232
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions js/test.js
Expand Up @@ -78,6 +78,7 @@ describe('Helper', function () {
// this test is not yet meaningful using jsdom, as it does not contain getSelection support.
// TODO: This needs to be tested using a browser.
describe('selectText', function () {
this.timeout(30000);
jsc.property(
'selection contains content of given ID',
jsc.nearray(jsc.nearray(jsc.elements(alnumString))),
Expand Down Expand Up @@ -271,6 +272,7 @@ describe('Helper', function () {
});

describe('getCookie', function () {
this.timeout(30000);
jsc.property(
'returns the requested cookie',
'nearray asciinestring',
Expand Down Expand Up @@ -299,6 +301,7 @@ describe('Helper', function () {
});

describe('baseUri', function () {
this.timeout(30000);
before(function () {
$.PrivateBin.Helper.reset();
});
Expand Down Expand Up @@ -413,6 +416,7 @@ describe('I18n', function () {
// loading of JSON via AJAX needs to be tested in the browser, this just mocks it
// TODO: This needs to be tested using a browser.
describe('loadTranslations', function () {
this.timeout(30000);
before(function () {
$.PrivateBin.I18n.reset();
});
Expand Down Expand Up @@ -596,6 +600,7 @@ describe('Model', function () {
});

describe('getPasteId', function () {
this.timeout(30000);
before(function () {
$.PrivateBin.Model.reset();
cleanup();
Expand Down Expand Up @@ -644,6 +649,7 @@ describe('Model', function () {
});

describe('getPasteKey', function () {
this.timeout(30000);
jsc.property(
'returns the fragment of the URL',
jsc.nearray(jsc.elements(a2zString)),
Expand Down

0 comments on commit 81ac232

Please sign in to comment.