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

Add a rawEnv reporter #1534

Closed
WilcoFiers opened this issue May 1, 2019 · 1 comment
Closed

Add a rawEnv reporter #1534

WilcoFiers opened this issue May 1, 2019 · 1 comment
Assignees
Labels
core Issues in the core code (lib/core) feat New feature or enhancement support

Comments

@WilcoFiers
Copy link
Contributor

WilcoFiers commented May 1, 2019

This reporter would return the raw results and the env variables in a single object. Something like this:

axe.addReporter('rawEnv', function(raw, options, callback) {
	if (typeof options === 'function') {
		callback = options;
		options = {};
	}
	const env = helpers.getEnvironmentData();
	callback({ raw, env });
});
@WilcoFiers WilcoFiers added this to the Axe-core 3.3 milestone May 1, 2019
@WilcoFiers WilcoFiers changed the title add a new reporter Add a rawEnv reporter May 1, 2019
@WilcoFiers WilcoFiers added core Issues in the core code (lib/core) support feat New feature or enhancement labels May 1, 2019
@aellsey aellsey modified the milestones: Axe-core 3.3, HTMLTools Sprint 3 May 6, 2019
@WilcoFiers WilcoFiers modified the milestones: HTMLTools Sprint 3, Axe-core 3.3 May 8, 2019
@AutoSponge AutoSponge self-assigned this May 9, 2019
@padmavemulapati
Copy link

QA Reviewed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Issues in the core code (lib/core) feat New feature or enhancement support
Projects
None yet
Development

No branches or pull requests

4 participants