Skip to content

Commit

Permalink
commitlint/plugins.test: add another test
Browse files Browse the repository at this point in the history
  • Loading branch information
tehraninasab committed Aug 9, 2023
1 parent 0269352 commit 09d1e26
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions commitlint/plugins.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,16 @@ test("default-revert-message6", () => {
expect(defaultRevertMessage6.status).toBe(0);
});

test("default-revert-message7", () => {
let commitMsgWithoutDefaultRevertMessage =
"This is a revert commit\n\nBla bla.";

let defaultRevertMessage7 = runCommitLintOnMsg(
commitMsgWithoutDefaultRevertMessage
);
expect(defaultRevertMessage7.status).toBe(0);
});

test("subject-lowercase1", () => {
let commitMsgWithUppercaseAfterColon = "foo: Bar baz";
let subjectLowerCase1 = runCommitLintOnMsg(
Expand Down

0 comments on commit 09d1e26

Please sign in to comment.