3

Question : what semantic commit message type should i use for adding unit test cases? like Udin.test.js, feat , chore , or update ?

1615903
  • 32,635
  • 12
  • 70
  • 99
Blank
  • 61
  • 1
  • 3

1 Answers1

8

By "semantic commit message" you are probably referring to Conventional Commits. In that case, the answer is in the summary:

  1. types other than fix: and feat: are allowed, for example @commitlint/config-conventional (based on the the Angular convention) recommends build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, and others.

So, use test: for adding test cases.

1615903
  • 32,635
  • 12
  • 70
  • 99