@brightspace-ui/testing 1.8.2 → 1.8.3

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.8.2",
5
+ "version": "1.8.3",
6
6
  "repository": "https://github.com/BrightspaceUI/testing.git",
7
7
  "scripts": {
8
8
  "lint": "eslint . --ext .js",
@@ -175,7 +175,7 @@ function renderResult(resultData, options) {
175
175
  let newPart;
176
176
  if (resultData.passed) {
177
177
  newPart = html`<div class="result-graphic padding">${ICON_TADA}<p>Hooray! No changes here.</p></div>`;
178
- } else if (resultData.info.pixelsDiff === 0) {
178
+ } else if (!resultData.info.diff && resultData.info.pixelsDiff === 0) {
179
179
  newPart = html`<div class="result-graphic padding">${ICON_BYTES}
180
180
  <p>No pixels have changed, but the byte size is different.</p>
181
181
  <p class="details">