Commit 2d52a001 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Corrige ruta hacia tests

parent da98889b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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'
		},
+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: {
@@ -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: {
+3 −3
Original line number Diff line number Diff line
@@ -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') || '',
@@ -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);
@@ -93,7 +93,7 @@ module.exports = function(grunt) {

			testParams = {
				srcPath: srcPath,
				testsPath: testsPath,
				testsPath: testPath,
				ownServerPort: ownServerPort,
				ownSocketPort: ownSocketPort,
				ownTunnelPort: ownTunnelPort,