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

How do I add a custom report? #406

Open
Foxeye-Rinx opened this issue Sep 24, 2016 · 0 comments
Open

How do I add a custom report? #406

Foxeye-Rinx opened this issue Sep 24, 2016 · 0 comments

Comments

@Foxeye-Rinx
Copy link

In protractor, user can add the custom report in protractor config file, using option "onPrepare" of config object, as following:

exports.config = {
    onPrepare: function () {
        jasmine.getEnv().addReporter(myReporter);
    }
}

Assume I wrote "myReporter" using the example of jasmine custom report
Is there any option like "onPrepare" in jasmine-node allow user setup their custom report?
If there is no, it would be nice to have a feature allow user setup things in a javascript config file like the way protractor is using.

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

1 participant