Skip to content

Commit

Permalink
Cleanup grunt file
Browse files Browse the repository at this point in the history
  • Loading branch information
rejas authored and thekashifmalik committed Jan 17, 2019
1 parent ae7b303 commit 44ebd32
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ module.exports = function(grunt) {
jshint: {
all: [
'Gruntfile.js',
'tasks/**/*.js', ],
'tasks/**/*.js'
],
options: {
jshintrc: '.jshintrc'
}
Expand Down Expand Up @@ -80,7 +81,7 @@ module.exports = function(grunt) {
reporter: 'Nyan',

// URLs passed through as options
urls: ['http://localhost:' + port + '/example/test/test2.html'],
urls: ['http://localhost:' + port + '/example/test/test2.html']
}
},

Expand All @@ -95,7 +96,7 @@ module.exports = function(grunt) {
growlOnFail: false,
growlOnSuccess: false,

reporter: './example/test/reporter/simple',
reporter: './example/test/reporter/simple'
}
},

Expand All @@ -122,7 +123,7 @@ module.exports = function(grunt) {
growlOnFail: false,
growlOnSuccess: false,

reporter: 'Spec',
reporter: 'Spec'
}
},

Expand All @@ -135,7 +136,7 @@ module.exports = function(grunt) {
reporter: 'XUnit',

// URLs passed through as options
urls: ['http://localhost:' + (port + 1) + '/example/test/test2.html'],
urls: ['http://localhost:' + (port + 1) + '/example/test/test2.html']
},
dest: 'example/test/results/xunit.out'
},
Expand All @@ -154,7 +155,7 @@ module.exports = function(grunt) {

// This test should never run
neverTest: {
src: ['example/test/test.html'],
src: ['example/test/test.html']
},

// Test page options
Expand Down Expand Up @@ -213,7 +214,6 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-connect');


grunt.task.registerTask('testUrls', ['connect:testUrls', 'mocha:testUrls']);
grunt.task.registerTask('testLog', ['mocha:testLog']);
grunt.task.registerTask('testReporter', ['mocha:testReporter']);
Expand All @@ -232,7 +232,7 @@ module.exports = function(grunt) {
'testLog',
'testReporter',
'testDest',
'testPage',
'testPage'
]);

// By default, lint and run all tests.
Expand Down

0 comments on commit 44ebd32

Please sign in to comment.