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

Modified template.js to copy reporter.js to the correct path. #33

Merged
merged 1 commit into from
Jan 23, 2015

Conversation

simpleigh
Copy link
Contributor

fixes #31 :

If Jasmine's options.outfile is changed then coverage doesn't run.
The SpecRunner template seems to be generated correctly, but grunt-template-jasmine-istanbul/reporter.js is not being copied into the .grunt/grunt-contrib-jasmine directory.

This commit modifies the exports.process method of template.js in order to use the original path when copying reporter.js.

fixes maenu#31 :

If Jasmine's options.outfile is changed then coverage doesn't run.
The SpecRunner template seems to be generated correctly,
but grunt-template-jasmine-istanbul/reporter.js is not being copied into the
 .grunt/grunt-contrib-jasmine directory.

This commit modifies the exports.process method of template.js in order to
use the original path when copying reporter.js.
@imkevinxu
Copy link

+1

@gyandeeps
Copy link
Collaborator

+1
I think this would solve my problem which i logged here: gruntjs/grunt-contrib-jasmine#152
@maenu Any idea when you would merge this PR and make a release?

@gyandeeps
Copy link
Collaborator

Any suggestions or objections guys @simpleigh @imkevinxu .
I really want this PR as I have already waited for months now.
#35

@maenu maenu merged commit 695eeba into maenu:master Jan 23, 2015
maenu added a commit that referenced this pull request Jan 23, 2015
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

Successfully merging this pull request may close these issues.

if customize outfile for jasmine it will not run the coverage
4 participants