Skip to content

Commit 77e3c9d

Browse files
committed
Set image snapshot to runInProcess (macOS CI fix)
1 parent 65375c3 commit 77e3c9d

File tree

2 files changed

+38
-37
lines changed

2 files changed

+38
-37
lines changed

package-lock.json

Lines changed: 36 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/e2e/helpers/jest-image-snapshot.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,14 @@ const config = {
1818
};
1919

2020
const toMatchImageSnapshot = configureToMatchImageSnapshot({
21+
allowSizeMismatch: true, // Windows CI fix
2122
customSnapshotIdentifier(data) {
2223
return `${data.defaultIdentifier}-${browserName}`;
2324
},
2425
diffDirection: 'vertical',
2526
failureThresholdType: 'percent',
2627
noColors: true,
27-
allowSizeMismatch: true, // Required for Windows test
28+
runInProcess: true, // macOS CI fix
2829
// pixel or ssim
2930
...config.ssimCompare,
3031
});

0 commit comments

Comments
 (0)