testaro 58.1.3 → 58.2.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testaro",
3
- "version": "58.1.3",
3
+ "version": "58.2.1",
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/run.js CHANGED
@@ -597,6 +597,7 @@ const doActs = async (report, opts = {}) => {
597
597
  type,
598
598
  which
599
599
  });
600
+ console.log(`${message} (observer notified)`);
600
601
  }
601
602
  catch (error) {}
602
603
  }
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;