semantic commit message type for adding unit testing

6.2k views Asked by At

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

1

There are 1 answers

0
1615903 On

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.