fix: @commitlint/parse
package logic appears incorrect
#3784
Labels
@commitlint/parse
package logic appears incorrect
#3784
Expected Behavior
These two following tests
coming from https://github.com/conventional-changelog/commitlint/blob/renovate/conventional-changelog-angular-7.x/%40commitlint/rules/src/scope-enum.test.ts are adapting to some wrong behaviour of
@commitlint/parse/
package:It seems that:
Here #3725 some reference of the process of finding out the effect of the issue, not the cause.
Fixing this error will require a refactoring of tests here too https://github.com/conventional-changelog/commitlint/blob/renovate/conventional-changelog-angular-7.x/%40commitlint/rules/src/scope-enum.test.ts
Once this error is covered, conventional changelog angular 7.x could be finally released and this could resolve these issues #3698 and release-it/conventional-changelog#70
Current Behavior
This seems a wrong logic.
Affected packages
Possible Solution
To investigate
Steps to Reproduce
1. Run `yarn test scope-enum` and check the logic of the tests mentioned above
Context
All starts here release-it/conventional-changelog#70
commitlint --version
18.2.0
git --version
2.39.2 (Apple Git-143)
node --version
v18.18.2
The text was updated successfully, but these errors were encountered: