File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1199,27 +1199,29 @@ function compareCompletedEvents(
11991199 ) ;
12001200 }
12011201 }
1202- mismatchedKeys . sort ( ) ;
1203- const groupKey = mismatchedKeys . join ( "," ) ;
1204- Ape . results
1205- . reportCompletedEventMismatch ( {
1206- body : {
1207- notMatching,
1208- mismatchedKeys,
1209- groupKey,
1210- language : ce . language ,
1211- mode : ce . mode ,
1212- mode2 : ce . mode2 ,
1213- difficulty : ce . difficulty ,
1214- duration : ce . testDuration ,
1215- funboxes : getActiveFunboxNames ( ) . join ( "," ) ,
1216- // ce: ce as Record<string, unknown>,
1217- // ce2: ce2 as Record<string, unknown>,
1218- } ,
1219- } )
1220- . catch ( ( ) => {
1221- //
1222- } ) ;
1202+ if ( ! ignoreMismatch ) {
1203+ mismatchedKeys . sort ( ) ;
1204+ const groupKey = mismatchedKeys . join ( "," ) ;
1205+ Ape . results
1206+ . reportCompletedEventMismatch ( {
1207+ body : {
1208+ notMatching,
1209+ mismatchedKeys,
1210+ groupKey,
1211+ language : ce . language ,
1212+ mode : ce . mode ,
1213+ mode2 : ce . mode2 ,
1214+ difficulty : ce . difficulty ,
1215+ duration : ce . testDuration ,
1216+ funboxes : getActiveFunboxNames ( ) . join ( "," ) ,
1217+ // ce: ce as Record<string, unknown>,
1218+ // ce2: ce2 as Record<string, unknown>,
1219+ } ,
1220+ } )
1221+ . catch ( ( ) => {
1222+ //
1223+ } ) ;
1224+ }
12231225 }
12241226
12251227 console . debug ( "Completed event object2" , ce2 ) ;
You can’t perform that action at this time.
0 commit comments