Avoid reporting tests to Sauce Labs when errors occur to force a retry.

This commit is contained in:
John-David Dalton
2014-05-03 00:16:15 -07:00
parent 53bfafb84c
commit d08febc711
4 changed files with 25 additions and 4 deletions

View File

@@ -164,6 +164,9 @@
// used to indicate testing a modularized build
ui.isModularize = /\b(?:commonjs|(index|main)\.js|lodash-(?:amd|node)|modularize|npm)\b/.test([location.pathname, location.search, ui.buildPath]);
// used to indicate testing in Sauce Labs' automated test cloud
ui.isSauceLabs = location.port == '9001';
// expose `ui`
window.ui = ui;