Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 494b88e63f |
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user