javascript - Where is browserNoActivityTimeout used in karma? -


i grep karma repository , seems no logic using field besides being set in config.

does know field for?

for reason have set 20000 or else karma test disconnects

it's referenced noactivitytimeout internally, in file: https://github.com/karma-runner/karma/blob/de55bc63205c656eb5f5534894aa4ae92228efb8/lib/browser.js

basically, effect of line supposed test stops running if no activity detected in amount of time specified config. helps tests stop when code in infinite loop or otherwise not responding (maybe has async test condition , test never resolves)


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -