Loading grunt/config/test.js +6 −1 Original line number Diff line number Diff line Loading @@ -85,6 +85,10 @@ module.exports = function(grunt) { testFunctionalRemotePath = path.join(absoluteTestsPath, 'intern-functional-remote'), dojoCommonBaseUrl = path.join(' ', srcPath, '*').trim(), ipGetterPath = path.join(absoluteTestsPath, 'IpGetter'), IpGetter = require(ipGetterPath)(), localIp = IpGetter.getIp(), testParams = { srcPath: srcPath, testsPath: testsPath, Loading @@ -99,7 +103,8 @@ module.exports = function(grunt) { remoteTestParams = { ownServerHost: ownServerHost, remoteHost: remoteHost, remotePort: remotePort remotePort: remotePort, localIp: localIp }, testUnitParams = deepmerge(testParams, { reporters: unitReporters, Loading tests/_remote.js +2 −2 Original line number Diff line number Diff line module.exports = function(args) { var IpGetter = require('./IpGetter')(), var localIp = args.localIp, remoteHost = args.remoteHost || '127.0.0.1', remotePort = args.remotePort || '4444', remoteTunnel = remoteHost + ':' + remotePort, Loading @@ -10,7 +10,7 @@ module.exports = function(args) { ownServerPort = args.ownServerPort; if (!ownServerHost || !ownServerHost.length) { ownServerHost = IpGetter.getIp(); ownServerHost = localIp; } var ownServerUrl = 'http://' + ownServerHost + ':' + ownServerPort; Loading Loading
grunt/config/test.js +6 −1 Original line number Diff line number Diff line Loading @@ -85,6 +85,10 @@ module.exports = function(grunt) { testFunctionalRemotePath = path.join(absoluteTestsPath, 'intern-functional-remote'), dojoCommonBaseUrl = path.join(' ', srcPath, '*').trim(), ipGetterPath = path.join(absoluteTestsPath, 'IpGetter'), IpGetter = require(ipGetterPath)(), localIp = IpGetter.getIp(), testParams = { srcPath: srcPath, testsPath: testsPath, Loading @@ -99,7 +103,8 @@ module.exports = function(grunt) { remoteTestParams = { ownServerHost: ownServerHost, remoteHost: remoteHost, remotePort: remotePort remotePort: remotePort, localIp: localIp }, testUnitParams = deepmerge(testParams, { reporters: unitReporters, Loading
tests/_remote.js +2 −2 Original line number Diff line number Diff line module.exports = function(args) { var IpGetter = require('./IpGetter')(), var localIp = args.localIp, remoteHost = args.remoteHost || '127.0.0.1', remotePort = args.remotePort || '4444', remoteTunnel = remoteHost + ':' + remotePort, Loading @@ -10,7 +10,7 @@ module.exports = function(args) { ownServerPort = args.ownServerPort; if (!ownServerHost || !ownServerHost.length) { ownServerHost = IpGetter.getIp(); ownServerHost = localIp; } var ownServerUrl = 'http://' + ownServerHost + ':' + ownServerPort; Loading