set timeout of profileeditor.test to 30 seconds

This commit is contained in:
PieterGit
2017-09-10 23:40:20 +02:00
parent 4a4cc7ee91
commit 38b45bbab9
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -14,7 +14,7 @@ function headless (benv, binding) {
var serverSettings = opts.serverSettings || require('./default-server-settings');
var someData = opts.mockAjax || { };
benv.setup(function() {
benv.require(__dirname + '/../../tmp/js/bundle.js');
self.$ = $;
@@ -156,9 +156,9 @@ function headless (benv, binding) {
var extraRequires = opts.benvRequires || [ ];
extraRequires.forEach(function (req) {
benv.require(req);
}).timeout(30000);
})
callback( );
}).timeout(30000);
})
}
+1
View File
@@ -100,6 +100,7 @@ describe('Profile editor', function ( ) {
});
it ('should produce some html', function (done) {
setTimeout(done, 30000);
var client = require('../lib/client');
var hashauth = require('../lib/hashauth');