Loading Gruntfile.js +1 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ module.exports = function(grunt) { rootPath: __dirname, srcPath: 'client-app/src', depsPath: 'client-app/deps', testPath: 'client-app/tests', distPath: 'dist', destDir: 'javascript' }, Loading grunt/config/jshint.js +5 −4 Original line number Diff line number Diff line module.exports = function(grunt) { var srcPath = grunt.config('redmicConfig.srcPath'); var srcPath = grunt.config('redmicConfig.srcPath'), testPath = grunt.config('redmicConfig.testPath'); grunt.config('jshint', { src: { Loading @@ -16,13 +17,13 @@ module.exports = function(grunt) { ] } }, tests: { test: { options: { esversion: 6, ignores: ['tests/sockTest/*.js'] ignores: [testPath + '/sockTest/*.js'] }, files: { src: ['tests/**/*.js'] src: [testPath + '/**/*.js'] } }, options: { Loading grunt/config/test.js +3 −3 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ module.exports = function(grunt) { rootPath = grunt.config('redmicConfig.rootPath'), srcPath = grunt.config('redmicConfig.srcPath'), testsPath = 'client-app/tests', testPath = grunt.config('redmicConfig.testPath'), outputPath = 'test_reports', ownServerHost = grunt.option('ownServerHost') || '', Loading Loading @@ -39,7 +39,7 @@ module.exports = function(grunt) { configPath = path.join(rootPath, outputPath, configDirName), reportersOutputPath = path.join(rootPath, outputPath, currOutputDirName), absoluteTestsPath = path.join(rootPath, testsPath), absoluteTestsPath = path.join(rootPath, testPath), userDataDir = outputPath + '/' + configDirName; grunt.file['delete'](configPath); Loading Loading @@ -93,7 +93,7 @@ module.exports = function(grunt) { testParams = { srcPath: srcPath, testsPath: testsPath, testsPath: testPath, ownServerPort: ownServerPort, ownSocketPort: ownSocketPort, ownTunnelPort: ownTunnelPort, Loading Loading
Gruntfile.js +1 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ module.exports = function(grunt) { rootPath: __dirname, srcPath: 'client-app/src', depsPath: 'client-app/deps', testPath: 'client-app/tests', distPath: 'dist', destDir: 'javascript' }, Loading
grunt/config/jshint.js +5 −4 Original line number Diff line number Diff line module.exports = function(grunt) { var srcPath = grunt.config('redmicConfig.srcPath'); var srcPath = grunt.config('redmicConfig.srcPath'), testPath = grunt.config('redmicConfig.testPath'); grunt.config('jshint', { src: { Loading @@ -16,13 +17,13 @@ module.exports = function(grunt) { ] } }, tests: { test: { options: { esversion: 6, ignores: ['tests/sockTest/*.js'] ignores: [testPath + '/sockTest/*.js'] }, files: { src: ['tests/**/*.js'] src: [testPath + '/**/*.js'] } }, options: { Loading
grunt/config/test.js +3 −3 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ module.exports = function(grunt) { rootPath = grunt.config('redmicConfig.rootPath'), srcPath = grunt.config('redmicConfig.srcPath'), testsPath = 'client-app/tests', testPath = grunt.config('redmicConfig.testPath'), outputPath = 'test_reports', ownServerHost = grunt.option('ownServerHost') || '', Loading Loading @@ -39,7 +39,7 @@ module.exports = function(grunt) { configPath = path.join(rootPath, outputPath, configDirName), reportersOutputPath = path.join(rootPath, outputPath, currOutputDirName), absoluteTestsPath = path.join(rootPath, testsPath), absoluteTestsPath = path.join(rootPath, testPath), userDataDir = outputPath + '/' + configDirName; grunt.file['delete'](configPath); Loading Loading @@ -93,7 +93,7 @@ module.exports = function(grunt) { testParams = { srcPath: srcPath, testsPath: testsPath, testsPath: testPath, ownServerPort: ownServerPort, ownSocketPort: ownSocketPort, ownTunnelPort: ownTunnelPort, Loading