Open ralf57 opened 7 years ago
Hey,
It depends whether you are using a11ym directly, or as a dependency of a project. You should not use a fix path. My recommendation would be to: Find the node_modules
directly by recurring the parent directories, and then, relatively to this path, look for the reporter file.
@Hywan thanks for your input. Submitted https://github.com/liip/TheA11yMachine/pull/104
Trying to have generate a report in a different format than "html", for example with
fails, with the following error
Setting the path at https://github.com/liip/TheA11yMachine/blob/master/lib/tester.js#L59 to
fixes it.