Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation #66

Open
jacopotarantino opened this issue Jun 3, 2015 · 3 comments
Open

Documentation #66

jacopotarantino opened this issue Jun 3, 2015 · 3 comments

Comments

@jacopotarantino
Copy link

It took me a long time of reading the source code of this plugin and node-jasmine to try and understand what was wrong with my grunt config options. I have a pretty standard suite of tests(all written in CoffeeScript and couldn't get things to work to save my life. I finally got my configuration to work with the following(using load-grunt-config):

'use strict'

module.exports =
  projectRoot: 'spec'
  forceExit: true
  useCoffee: true
  extensions: 'coffee'

This config doesn't do exactly what I want but I was happy to get it to finally work at all. It would be very helpful if the documentation for this project were much more verbose so that I didn't have to do so much reading to get a simple config object to look right. I'd be happy to help with this documentation bit I need a bit of help getting started at least.

@brownknows
Copy link

Ditto. Please document the options!!

@jackspaniel
Copy link

Yeah the problem seems to be the example on the readMe wraps the jasmine_node options in an object named 'options. Whereas the code expects the properties to be at the root of jasmine_node.

@jackspaniel
Copy link

FYI - I tried this project and it's working without having to move the jasmine_node options around. https://github.com/lennym/grunt-jasmine-node/blob/master/tasks/jasmine-node-task.js

The only thing I can't figure out is if I leave off the all: ['spec/'] property in the jasmine_node config, it fals to load any of my options. If I put all: anything, it works. Has to be some weird built in grunt thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants