diff --git a/ts/smartexpect.classes.assertion.ts b/ts/smartexpect.classes.assertion.ts index a18792b..aab833e 100644 --- a/ts/smartexpect.classes.assertion.ts +++ b/ts/smartexpect.classes.assertion.ts @@ -187,13 +187,14 @@ export class Assertion { public toContain(itemArg: any) { return this.runCheck(() => { - const result = this.baseReference instanceof Array && this.baseReference.find(itemArg2 => { - itemArg === itemArg2; - }) + const result = + this.baseReference instanceof Array && + this.baseReference.find((itemArg2) => { + itemArg === itemArg2; + }); if (!result) { throw new Error(`${this.baseReference} is not contain ${itemArg}`); } }); - } }