testaro 58.1.3 → 58.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tests/aslint.js +2 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testaro",
3
- "version": "58.1.3",
3
+ "version": "58.2.0",
4
4
  "description": "Run 1000 web accessibility tests from 11 tools and get a standardized report",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/tests/aslint.js CHANGED
@@ -41,9 +41,8 @@ exports.reporter = async (page, report, actIndex, timeLimit) => {
41
41
  let result = {};
42
42
  // Get the ASLint runner and bundle scripts.
43
43
  const aslintRunner = await fs.readFile(`${__dirname}/../procs/aslint.js`, 'utf8');
44
- const aslintBundle = await fs.readFile(
45
- `${__dirname}/../node_modules/aslint-testaro/aslint.bundle.js`, 'utf8'
46
- );
44
+ const aslintBundlePath = require.resolve('aslint-testaro/aslint.bundle.js');
45
+ const aslintBundle = await fs.readFile(aslintBundlePath, 'utf8');
47
46
  // Get the nonce, if any.
48
47
  const act = report.acts[actIndex];
49
48
  const {jobData} = report;