Skip to content

Commit 2924f06

Browse files
committed
updating grunt test task
1 parent 25fcabb commit 2924f06

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Gruntfile.coffee

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@ module.exports = (grunt) ->
105105

106106
jasmine:
107107
#ideally the src should concatenated files.
108-
src: ["js/init.js","js/lib/jquery.min.js","js/utils.js","js/lib/jquery.pubsub.js","js/tools/Fcal.js","js/tools/Zcal.js","js/exp/core.js","js/appModel.js","js/appData.js"]
108+
src: ["src/init.js","src/lib/jquery.min.js","src/utils.js","src/lib/jquery.pubsub.js","src/tools/Fcal.js","src/tools/Zcal.js","src/exp/core.js","dist/bundle.js"]
109109
options:
110110
specs: "test/spec/*Spec.js"
111111

112112
jshint:
113-
files:"js/appController.js"
113+
files:"dist/bundle.js"
114114

115115

116116
# Load the plugin that provides the "uglify" task.
@@ -123,6 +123,6 @@ module.exports = (grunt) ->
123123
# Default task(s).
124124
grunt.registerTask "build", ["coffee","concat"]
125125
grunt.registerTask "compile", ["coffee"]
126-
grunt.registerTask "test", ["coffee","jasmine"]
126+
grunt.registerTask "test", ["coffee","concat","copy","jasmine"]
127127
grunt.registerTask "default", ["coffee","concat","copy"]
128128

0 commit comments

Comments
 (0)