Skip to content

Commit

Permalink
WIP2
Browse files Browse the repository at this point in the history
  • Loading branch information
knocte committed Sep 9, 2024
1 parent 55b0733 commit a827c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commitlint/tests/testHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Check failure on line 94 in commitlint/tests/testHelpers.ts

View workflow job for this annotation

GitHub Actions / Run commitlint-related tests

commitlint/tests/integration.test.ts > testing TypeHelpers.IsInstanceOf exceptions

AssertionError: expected [Function] to throw error including 'Invalid' but got 'Cannot read properties of null (readi…' - Expected + Received - Invalid + Cannot read properties of null (reading 'constructor') ❯ commitlint/tests/testHelpers.ts:94:61

Check failure on line 94 in commitlint/tests/testHelpers.ts

View workflow job for this annotation

GitHub Actions / Run commitlint-related tests

commitlint/tests/plugins.test.ts > testing TypeHelpers.IsInstanceOf exceptions

AssertionError: expected [Function] to throw error including 'Invalid' but got 'Cannot read properties of null (readi…' - Expected + Received - Invalid + Cannot read properties of null (reading 'constructor') ❯ commitlint/tests/testHelpers.ts:94:61

Check failure on line 94 in commitlint/tests/testHelpers.ts

View workflow job for this annotation

GitHub Actions / Run commitlint-related tests

commitlint/tests/integration.test.ts > testing TypeHelpers.IsInstanceOf exceptions

AssertionError: expected [Function] to throw error including 'Invalid' but got 'Cannot read properties of null (readi…' - Expected + Received - Invalid + Cannot read properties of null (reading 'constructor') ❯ commitlint/tests/testHelpers.ts:94:61

Check failure on line 94 in commitlint/tests/testHelpers.ts

View workflow job for this annotation

GitHub Actions / Run commitlint-related tests

commitlint/tests/plugins.test.ts > testing TypeHelpers.IsInstanceOf exceptions

AssertionError: expected [Function] to throw error including 'Invalid' but got 'Cannot read properties of null (readi…' - Expected + Received - Invalid + Cannot read properties of null (reading 'constructor') ❯ commitlint/tests/testHelpers.ts:94:61
});

export function runCommitLintOnMsg(inputMsg: string) {
Expand Down

0 comments on commit a827c65

Please sign in to comment.