Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5b9105a42d | |||
| 494b88e63f |
3
renovate.json
Normal file
3
renovate.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||
}
|
||||
@@ -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