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
assert(expectedIndex>=(expected?.length??0),`${prefix}:: Should get all events: Expected ${JSON.stringify(expected)} events, got ${JSON.stringify(actual)} Sorted: ${JSON.stringify(sortedActual)}`);
184
+
while(expectedIndex<maxExpected){
185
+
conste=expected![expectedIndex];
186
+
if(e.optional){
187
+
expectedIndex++;
188
+
continue;
189
+
}
190
+
break;
191
+
}
192
+
assert(expectedIndex>=maxExpected,`${prefix}:: Should get all events: Expected ${JSON.stringify(expected)} events, got ${JSON.stringify(actual)} Sorted: ${JSON.stringify(sortedActual)}`);
0 commit comments