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
posMessage: ((subj: any[],cmp: FlatTransactionComparable)=>`Expected ${inspect(subj.map(tx=>flattenTransaction(tx)))} to contain a transaction that matches pattern ${inspect(cmp)}`).bind(undefined,subject,cmp),
156
-
negMessage: ((subj: any[],cmp: FlatTransactionComparable)=>`Expected ${inspect(subj.map(tx=>flattenTransaction(tx)))} NOT to contain a transaction that matches pattern ${inspect(cmp)}, but it does`).bind(undefined,subject,cmp),
183
+
posMessage: ((subj: any[],cmp: FlatTransactionComparable)=>`Expected ${inspect(subj.map(tx=>prettifyTransaction(tx)))} to contain a transaction that matches pattern ${inspect(cmp)}`).bind(undefined,subject,cmp),
184
+
negMessage: ((subj: any[],cmp: FlatTransactionComparable)=>`Expected ${inspect(subj.map(tx=>prettifyTransaction(tx)))} NOT to contain a transaction that matches pattern ${inspect(cmp)}, but it does`).bind(undefined,subject,cmp),
157
185
}
158
186
}else{
159
187
try{
160
-
constflat=flattenTransaction(subject)
161
188
return{
162
-
pass: compareTransaction(flat,cmp),
163
-
posMessage: ((flat: any,cmp: FlatTransactionComparable)=>`Expected ${inspect(flat)} to match pattern ${inspect(cmp)}`).bind(undefined,flat,cmp),
164
-
negMessage: ((flat: any,cmp: FlatTransactionComparable)=>`Expected ${inspect(flat)} NOT to match pattern ${inspect(cmp)}, but it does`).bind(undefined,flat,cmp),
posMessage: ((subj: any,cmp: FlatTransactionComparable)=>`Expected ${inspect(prettifyTransaction(subj))} to match pattern ${inspect(cmp)}`).bind(undefined,subject,cmp),
191
+
negMessage: ((subj: any,cmp: FlatTransactionComparable)=>`Expected ${inspect(prettifyTransaction(subj))} NOT to match pattern ${inspect(cmp)}, but it does`).bind(undefined,subject,cmp),
0 commit comments