Skip to content

Commit

Permalink
commitlint(plugins.tests): body-prose failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
knocte committed Mar 19, 2024
1 parent aeff456 commit 5dd1062
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions commitlint/plugins.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,21 @@ test("body-prose17", () => {
expect(bodyProse17.status).toBe(0);
});

test("body-prose18", () => {
let commitMsgWithParagraphEndingWithRef = `title: this is only title
Solution: [1]
Error:
```
blah
```
[1] http://foo.bar/baz`;
let bodyProse18 = runCommitLintOnMsg(commitMsgWithParagraphEndingWithRef);
expect(bodyProse18.status).toBe(0);
});

test("body-max-line-length1", () => {
let tenChars = "1234 67890";
let sixtyChars =
Expand Down

0 comments on commit 5dd1062

Please sign in to comment.