mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
set timeout of profileeditor.test to 30 seconds
This commit is contained in:
Vendored
+3
-3
@@ -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);
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user