diff --git a/commitlint/tests/integration.test.ts b/commitlint/tests/integration.test.ts index 804b6867..478e4c81 100644 --- a/commitlint/tests/integration.test.ts +++ b/commitlint/tests/integration.test.ts @@ -30,5 +30,8 @@ test("testing operators", () => { foo = "2"; bar = foo ? 0 : 1; expect(bar).toBe(0); + foo = false; + bar = foo ? 0 : 1; + expect(bar).toBe(1); });