From a827c651544e86096a688b5bc5ccbacdb0a117f9 Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Tue, 10 Sep 2024 01:06:07 +0800 Subject: [PATCH] WIP2 --- commitlint/tests/testHelpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commitlint/tests/testHelpers.ts b/commitlint/tests/testHelpers.ts index 766c17e5..c1809f76 100644 --- a/commitlint/tests/testHelpers.ts +++ b/commitlint/tests/testHelpers.ts @@ -91,7 +91,7 @@ test("testing TypeHelpers.IsInstanceOf", () => { test("testing TypeHelpers.IsInstanceOf exceptions", () => { let strNull = null; - expect(() => TypeHelpers.IsInstanceOf(strNull, String)).toThrowError("null"); + expect(() => TypeHelpers.IsInstanceOf(strNull, String)).toThrowError("Invalid"); }); export function runCommitLintOnMsg(inputMsg: string) {