Skip to content

Commit e4db7c0

Browse files
committed
Merge pull request #437 from eddiemonge/jstest
feat(app): run unit tests when test scripts are changed
2 parents cd264e4 + 94af0b5 commit e4db7c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/common/Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ module.exports = function (grunt) {
2323
tasks: ['coffee:dist']
2424
},
2525
coffeeTest: {
26-
files: ['test/spec/{,*/}*.coffee'],
27-
tasks: ['coffee:test']
26+
files: ['test/spec/{,*/}*.{coffee,js}'],
27+
tasks: ['coffee:test', 'karma']
2828
},<% if (compassBootstrap) { %>
2929
compass: {
3030
files: ['<%%= yeoman.app %>/styles/{,*/}*.{scss,sass}'],

0 commit comments

Comments
 (0)