Javi

grunt: jasmine y jquery

Jun 10th, 2015
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. Configurar jasmine para que incluya jQuery en grunt:
  2.  
  3. // Jasmine testing framework configuration options
  4. jasmine: {
  5. all: {
  6. src : ['bower_components/jquery/dist/*.min.js', 'bower_components/jquery-mockjax/jquery.mockjax.js'],
  7. options: {
  8. specs: 'test/spec/{,*/}*.js'
  9. }
  10. }
  11. },
  12.  
  13. fuente: http://simonsmith.io/headless-testing-with-phantomjs-and-grunt/
Advertisement
Add Comment
Please, Sign In to add comment