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

Make imported report.json more dynamic #4

Open
himerus opened this issue Feb 20, 2019 · 0 comments
Open

Make imported report.json more dynamic #4

himerus opened this issue Feb 20, 2019 · 0 comments

Comments

@himerus
Copy link

himerus commented Feb 20, 2019

import * as data from '../tests/pa11y/report.json';

I think it would be ideal if we could pass in a different path where our report.json lived and alternatively, what it is called.

This is for the case of multiple systems attempting to run reports. Imagine the following:

  • tests
    • pa11y-site-one
      • config.json
    • pa11y-site-two
      • config.json

or

  • tests
    • pa11y
      • config-one.json
      • config-two.json
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