increasing timeouts for travisCI, that seems to have gotten slower

pull/226/head^2
El RIDO 7 years ago
parent cd5fded4a4
commit 81ac232710
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

@ -78,6 +78,7 @@ describe('Helper', function () {
// this test is not yet meaningful using jsdom, as it does not contain getSelection support. // this test is not yet meaningful using jsdom, as it does not contain getSelection support.
// TODO: This needs to be tested using a browser. // TODO: This needs to be tested using a browser.
describe('selectText', function () { describe('selectText', function () {
this.timeout(30000);
jsc.property( jsc.property(
'selection contains content of given ID', 'selection contains content of given ID',
jsc.nearray(jsc.nearray(jsc.elements(alnumString))), jsc.nearray(jsc.nearray(jsc.elements(alnumString))),
@ -271,6 +272,7 @@ describe('Helper', function () {
}); });
describe('getCookie', function () { describe('getCookie', function () {
this.timeout(30000);
jsc.property( jsc.property(
'returns the requested cookie', 'returns the requested cookie',
'nearray asciinestring', 'nearray asciinestring',
@ -299,6 +301,7 @@ describe('Helper', function () {
}); });
describe('baseUri', function () { describe('baseUri', function () {
this.timeout(30000);
before(function () { before(function () {
$.PrivateBin.Helper.reset(); $.PrivateBin.Helper.reset();
}); });
@ -413,6 +416,7 @@ describe('I18n', function () {
// loading of JSON via AJAX needs to be tested in the browser, this just mocks it // 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. // TODO: This needs to be tested using a browser.
describe('loadTranslations', function () { describe('loadTranslations', function () {
this.timeout(30000);
before(function () { before(function () {
$.PrivateBin.I18n.reset(); $.PrivateBin.I18n.reset();
}); });
@ -596,6 +600,7 @@ describe('Model', function () {
}); });
describe('getPasteId', function () { describe('getPasteId', function () {
this.timeout(30000);
before(function () { before(function () {
$.PrivateBin.Model.reset(); $.PrivateBin.Model.reset();
cleanup(); cleanup();
@ -644,6 +649,7 @@ describe('Model', function () {
}); });
describe('getPasteKey', function () { describe('getPasteKey', function () {
this.timeout(30000);
jsc.property( jsc.property(
'returns the fragment of the URL', 'returns the fragment of the URL',
jsc.nearray(jsc.elements(a2zString)), jsc.nearray(jsc.elements(a2zString)),

Loading…
Cancel
Save