Revert "reverted the debugger attached timeout change that might be causing CI to hang"

This reverts commit c019ffc33a.
This commit is contained in:
blagoev 2017-05-17 16:23:49 +03:00
parent c019ffc33a
commit ebb8d8efa6
1 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,10 @@ const Realm = require('realm');
const RealmTests = require('../js'); const RealmTests = require('../js');
jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000; jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000;
const isDebuggerAttached = typeof v8debug === 'object';
if (isDebuggerAttached) {
jasmine.DEFAULT_TIMEOUT_INTERVAL = 3000000;
}
// Create this method with appropriate implementation for Node testing. // Create this method with appropriate implementation for Node testing.
Realm.copyBundledRealmFiles = function() { Realm.copyBundledRealmFiles = function() {