@brightspace-ui/testing 1.28.1 → 1.28.2

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
@@ -2,7 +2,7 @@
2
2
  "name": "@brightspace-ui/testing",
3
3
  "description": "Utilities for testing front-end components and applications",
4
4
  "type": "module",
5
- "version": "1.28.1",
5
+ "version": "1.28.2",
6
6
  "repository": "https://github.com/BrightspaceUI/testing.git",
7
7
  "scripts": {
8
8
  "lint": "npm run lint:eslint && npm run lint:style",
@@ -101,7 +101,7 @@ function flattenResults(session, browserData, fileData) {
101
101
  });
102
102
  }
103
103
  const testData = fileData.tests.get(testName);
104
- const bytediff = !t.passed && !!info?.diff && info?.pixelsDiff === 0;
104
+ const bytediff = !t.passed && info?.diff === undefined && info?.pixelsDiff === 0;
105
105
  if (!t.passed) {
106
106
  if (bytediff) {
107
107
  browserData.numByteDiff++;