Compare commits

...

1 Commits
0.0.1 ... 0.0.2

Author SHA1 Message Date
494b88e63f test: add test case testing non-conventional commit messages (#2)
All checks were successful
CD / Release (push) Successful in 40s
Reviewed-on: #2
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
2025-08-17 23:00:33 +02:00

View File

@@ -246,6 +246,16 @@ describe("TagIncrementer", () => {
expect(result).toBe(IncrementType.MINOR);
});
it("should fallback to PATCH on an non-conventional commit message", async () => {
mockGitService.setMockCommit({
commit: { message: "just some tests, nothing special" },
});
const result = await tagIncrementer.determineIncrementType("ref");
expect(result).toBe(IncrementType.PATCH);
});
});
describe("incrementTag", () => {