Ignore:
Timestamp:
11/25/21 22:08:24 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
8d391a1
Parents:
59329aa
Message:

primeNG components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/node_modules/karma/static/karma.js

    r59329aa re29cc2e  
    243243    }
    244244
    245     // A test could have incorrectly issued a navigate. Wait one turn
    246     // to ensure the error from an incorrect navigate is processed.
    247     var config = this.config
    248     setTimeout(function () {
    249       socket.emit('complete', result || {})
    250       if (config.clearContext) {
    251         navigateContextTo('about:blank')
    252       } else {
    253         self.updater.updateTestStatus('complete')
    254       }
    255       if (returnUrl) {
    256         location.href = returnUrl
    257       }
    258     })
     245    socket.emit('complete', result || {})
     246    if (this.config.clearContext) {
     247      navigateContextTo('about:blank')
     248    } else {
     249      self.updater.updateTestStatus('complete')
     250    }
     251    if (returnUrl) {
     252      location.href = returnUrl
     253    }
    259254  }
    260255
     
    339334  timeout: BROWSER_SOCKET_TIMEOUT,
    340335  path: KARMA_PROXY_PATH + KARMA_URL_ROOT.substr(1) + 'socket.io',
    341   'sync disconnect on unload': true
     336  'sync disconnect on unload': true,
     337  useNativeTimers: true
    342338})
    343339
Note: See TracChangeset for help on using the changeset viewer.