We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1d3cd7 commit ec025d5Copy full SHA for ec025d5
@commitlint/parse/src/index.test.ts
@@ -168,6 +168,16 @@ test('registers inline #', async () => {
168
expect(actual.body).toBe('things #reference');
169
});
170
171
+test('keep -side notes- in the body section', async () => {
172
+ const message =
173
+ 'type(some/scope): subject\n\n' +
174
+ 'Developer jd --Jon Doe-- found this bug.'
175
+
176
+ const actual = await parse(message);
177
178
+ expect(actual.body).toBe('Developer jd --Jon Doe-- found this bug.');
179
+});
180
181
test('parses references leading subject', async () => {
182
const message = '#1 some subject';
183
const opts = await require('conventional-changelog-angular');
0 commit comments