Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2017-12-16 15:00:38 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-01-11 19:48:46 +0300
commit80d0943b95984bfaf4997d2198d467876d294bd8 (patch)
treefa2eb4c869753b6e20c771a928da460587f38fdf /build/saucelabs-unit-test.js
parent6d336502c7e26c4cc5b35f1d7a19c067b774cb1f (diff)
Comply to the new rules.
Diffstat (limited to 'build/saucelabs-unit-test.js')
-rw-r--r--build/saucelabs-unit-test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/saucelabs-unit-test.js b/build/saucelabs-unit-test.js
index 0b4a3b5f0e..3ec68a95b2 100644
--- a/build/saucelabs-unit-test.js
+++ b/build/saucelabs-unit-test.js
@@ -91,7 +91,7 @@ jsUnitSaucelabs.on('tunnelCreated', () => {
if (typeof success !== 'undefined') {
const taskIds = success['js tests']
- if (!taskIds || !taskIds.length) {
+ if (!taskIds || taskIds.length === 0) {
throw new Error('Error starting tests through Sauce Labs API')
}