aboutsummaryrefslogtreecommitdiffstats
path: root/tests/selenium
diff options
context:
space:
mode:
authorEd Sanders <esanders@wikimedia.org>2017-07-18 14:02:42 +0100
committerEd Sanders <esanders@wikimedia.org>2017-07-18 16:57:03 +0100
commit2c03d167fae59668053d895f0400641d4eeb2916 (patch)
tree1aae594a72b3efe70017ab13dd4f2a06375822f1 /tests/selenium
parent1e551e9800c3661bc5f21f7aad79c993a6342db9 (diff)
downloadmediawikicore-2c03d167fae59668053d895f0400641d4eeb2916.tar.gz
mediawikicore-2c03d167fae59668053d895f0400641d4eeb2916.zip
build: Upgrade grunt-eslint from 19.0.0 to 20.0.0
Most indent and escaping fixes. Change-Id: I210e2fc3c0ce3148327ef81f824e1ce9f1e269b6
Diffstat (limited to 'tests/selenium')
-rw-r--r--tests/selenium/wdio.conf.js13
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/selenium/wdio.conf.js b/tests/selenium/wdio.conf.js
index c8fb8a743533..f3e48777e11c 100644
--- a/tests/selenium/wdio.conf.js
+++ b/tests/selenium/wdio.conf.js
@@ -1,7 +1,6 @@
-/* eslint comma-dangle: 0 */
-/* eslint no-undef: "error" */
-/* eslint no-console: 0 */
/* eslint-env node */
+/* eslint no-undef: "error" */
+/* eslint-disable no-console, comma-dangle */
'use strict';
const path = require( 'path' );
@@ -114,12 +113,12 @@ exports.config = {
// with "/", then the base url gets prepended.
baseUrl: (
process.env.MW_SERVER === undefined ?
- 'http://127.0.0.1:8080' :
- process.env.MW_SERVER
+ 'http://127.0.0.1:8080' :
+ process.env.MW_SERVER
) + (
process.env.MW_SCRIPT_PATH === undefined ?
- '/w' :
- process.env.MW_SCRIPT_PATH
+ '/w' :
+ process.env.MW_SCRIPT_PATH
),
//
// Default timeout for all waitFor* commands.