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

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -