Guest User

Untitled

a guest
Jan 16th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. {
  2. // Spec directory path relative to the current working dir when jasmine is executed.
  3. "spec_dir": "spec",
  4.  
  5. // Array of filepaths (and globs) relative to spec_dir to include and exclude
  6. "spec_files": [
  7. "**/*[sS]pec.js"
  8. ],
  9.  
  10. // Array of filepaths (and globs) relative to spec_dir to include before jasmine specs
  11. "helpers": [
  12. "helpers/**/*.js"
  13. ],
  14.  
  15. // Stop execution of a spec after the first expectation failure in it
  16. stopSpecOnExpectationFailure: false,
  17.  
  18. // This is the random option I need on gruntfile
  19. random: false
  20. }
  21.  
  22. module.exports = function(grunt) {
  23. grunt.initConfig({
  24. pkg: grunt.file.readJSON('package.json')
  25. ,jasmine : {
  26. myapp : {
  27. src : ['src/**/*.js']
  28. ,options : {
  29. specs : 'spec/**/*{s,S}pec.js'
  30. }
  31. }
  32. }
  33. });
  34. ...
Add Comment
Please, Sign In to add comment