You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -108,19 +114,27 @@ function saveAndRegisterImages(matcherContext: MatcherContext, received: Buffer,
108
114
// All options properties used here are always set in bpmn-visualization tests
109
115
// If the following implementation would be done directly in jest-image-snapshot, this won't be required as it set default values we cannot access here
// Add configured failure threshold in the error message
120
132
constmessages=result.message().split('\n');
121
133
// For generalization, check options.failureThresholdType for percentage/pixel
122
-
constnewMessage=[`${messages[0]} Failure threshold was set to ${options.failureThreshold*100}%.`, ...messages.slice(1)].join('\n');
134
+
constnewMessage=[`${messages[0]} Failure threshold was set to ${options.failureThreshold*100}%. Execution count: ${executionCount}.`, ...messages.slice(1)].join('\n');
0 commit comments