Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- // Spec directory path relative to the current working dir when jasmine is executed.
- "spec_dir": "spec",
- // Array of filepaths (and globs) relative to spec_dir to include and exclude
- "spec_files": [
- "**/*[sS]pec.js"
- ],
- // Array of filepaths (and globs) relative to spec_dir to include before jasmine specs
- "helpers": [
- "helpers/**/*.js"
- ],
- // Stop execution of a spec after the first expectation failure in it
- stopSpecOnExpectationFailure: false,
- // This is the random option I need on gruntfile
- random: false
- }
- module.exports = function(grunt) {
- grunt.initConfig({
- pkg: grunt.file.readJSON('package.json')
- ,jasmine : {
- myapp : {
- src : ['src/**/*.js']
- ,options : {
- specs : 'spec/**/*{s,S}pec.js'
- }
- }
- }
- });
- ...
Add Comment
Please, Sign In to add comment