From 0249131a47f064aa6b2eadc1760f63bb6b4d504c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Verit=C3=A9=20Mugabo?= Date: Sat, 16 Dec 2023 19:29:54 -0500 Subject: [PATCH] chore(trying to fix expect): expect-expect (#327) --- tests/expect-expect.test.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/expect-expect.test.ts b/tests/expect-expect.test.ts index 8940f05..aa67488 100644 --- a/tests/expect-expect.test.ts +++ b/tests/expect-expect.test.ts @@ -7,6 +7,13 @@ ruleTester.run(RULE_NAME, rule, { code: 'test("shows success", () => {expectValue(true).toBe(false);});', options: [{ customExpressions: ['expectValue'] }] }, + { + code: `test("shows success", () => { + expect(true); + expect.assertions(1); + });`, + options: [{ customExpressions: ['expect','expect.*'] }] + }, { code: `test("shows success", () => { mySecondExpression(true).toBe(true);});`,