Last active
August 29, 2015 14:18
-
-
Save marcusellis05/eef68a940eff2dc50ec9 to your computer and use it in GitHub Desktop.
Issue with grunt-contrib-jasmine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
var loadGruntTasks = require('load-grunt-tasks'); | |
module.exports = function(grunt) { | |
grunt.initConfig({ | |
connect: { | |
test : { | |
port : 8000 | |
} | |
}, | |
jasmine: { | |
taskName: { | |
src: 'src/js/*.js', | |
options: { | |
specs: 'spec/*Spec.js', | |
helpers: 'spec/*Helper.js', | |
host: 'http://127.0.0.1:8000/', | |
template: require('grunt-template-jasmine-requirejs'), | |
templateOptions: { | |
requireConfigFile: 'src/config.js' | |
} | |
} | |
} | |
} | |
}); | |
loadGruntTasks(grunt); | |
grunt.registerTask('default', ['connect', 'jasmine']); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "search-form", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"repository": { | |
"type": "git", | |
"url": "" | |
}, | |
"author": "", | |
"license": "ISC", | |
"devDependencies": { | |
"grunt": "^0.4.5", | |
"grunt-contrib-connect": "^0.10.1", | |
"grunt-contrib-jasmine": "^0.8.2", | |
"grunt-template-jasmine-requirejs": "^0.2.2", | |
"load-grunt-tasks": "^3.1.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment