testaro 32.0.9 → 32.0.10

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/ibm.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testaro",
3
- "version": "32.0.9",
3
+ "version": "32.0.10",
4
4
  "description": "Run 960 web accessibility tests from 9 tools and get a standardized report",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/tests/ibm.js CHANGED
@@ -176,8 +176,8 @@ exports.reporter = async (page, options) => {
176
176
  const contentType = withNewContent ? 'new' : 'existing';
177
177
  console.log(`>>>>>> Content type: ${contentType}`);
178
178
  const timeLimit = 25;
179
- const typeContent = contentType === 'existing' ? await page.content() : await page.url();
180
179
  try {
180
+ const typeContent = contentType === 'existing' ? await page.content() : await page.url();
181
181
  const actReport = await doTest(typeContent, withItems, timeLimit, rules);
182
182
  const {data, result} = actReport;
183
183
  // If the act was prevented: