Blank
Blank

Reputation: 89

semantic commit message type for adding unit testing

What semantic commit message type should I use for adding unit test cases? Like Udin.test.js, feat , chore , or update?

Upvotes: 6

Views: 9158

Answers (1)

1615903
1615903

Reputation: 34800

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.

Upvotes: 16

Related Questions