Skip to content

Commit

Permalink
trying to reproduce issue #62
Browse files Browse the repository at this point in the history
  • Loading branch information
pghalliday committed Mar 24, 2014
1 parent 7d11b2d commit 78e9a5e
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
54 changes: 54 additions & 0 deletions test/scenarios/subsequentTasks/Gruntfile.js
@@ -0,0 +1,54 @@
module.exports = function(grunt) {
// Add our custom tasks.
grunt.loadTasks('../../../tasks');
grunt.loadTasks('../../../node_modules/grunt-contrib-jshint/tasks');
grunt.loadTasks('../../../node_modules/grunt-contrib-watch/tasks');

// Project configuration.
grunt.initConfig({
jshint: {
options: {
curly: true,
eqeqeq: true,
immed: true,
latedef: true,
newcap: true,
noarg: true,
sub: true,
undef: true,
boss: true,
eqnull: true,
node: true,
strict: false,
globals: {
describe: false,
it: false,
suite: false,
test: false,
before: false,
after: false
}
},
all: {
src: ['*.js']
}
},
mochaTest: {
options: {
reporter: 'spec'
},
all: {
src: ['*.js']
}
},
watch: {
mochaTest: {
files: ['<%= jshint.all.src %>'],
tasks: ['mochaTest'],
},
}
});

// Default task.
grunt.registerTask('default', ['mochaTest', 'jshint', 'watch']);
};
4 changes: 4 additions & 0 deletions test/scenarios/subsequentTasks/test1.js
@@ -0,0 +1,4 @@
describe('test1', function() {
it('should be ok', function() {
});
});
4 changes: 4 additions & 0 deletions test/scenarios/subsequentTasks/test2.js
@@ -0,0 +1,4 @@
describe('test2', function() {
it('should be ok', function() {
});
});

0 comments on commit 78e9a5e

Please sign in to comment.