fix(core): update
This commit is contained in:
@ -189,9 +189,7 @@ export class Assertion {
|
||||
return this.runCheck(() => {
|
||||
const result =
|
||||
this.baseReference instanceof Array &&
|
||||
this.baseReference.find((itemArg2) => {
|
||||
itemArg === itemArg2;
|
||||
});
|
||||
this.baseReference.includes(itemArg);
|
||||
if (!result) {
|
||||
throw new Error(`${this.baseReference} is not contain ${itemArg}`);
|
||||
}
|
||||
|
Reference in New Issue
Block a user