karma-browserstack-launcher
karma-browserstack-launcher copied to clipboard
Detect (BrowserStack) launcher within tests
I'm using Jasmine and found that when run with the BrowserStack karma launcher, test taking 4 seconds locally would take ~30 seconds.
I'd like to dynamically adapt jasmine.DEFAULT_TIMEOUT_INTERVAL (increase it only for BrowserStack).
Is there anything (within window.*?) I could rely on in order to tweak this setting dynamically?
@drzraf the browsers used on BrowserStack are identical to the ones used locally. Hence you would find no difference in the window objects between the two browsers.