Skip to content

Commit

Permalink
test: remove duplicate test for parsing multiple commits
Browse files Browse the repository at this point in the history
  • Loading branch information
dgokcin committed Sep 11, 2024
1 parent 736a363 commit 8f21f41
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/commits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,18 +166,6 @@ describe('parseConventionalCommits', () => {
expect(conventionalCommits[2].scope).to.equal('utils');
});

it('parses multiple commits from a single message', async () => {
const commits = [buildCommitFromFixture('multiple-commits-single-message')];
const conventionalCommits = parseConventionalCommits(commits);
expect(conventionalCommits).lengthOf(3);
expect(conventionalCommits[0].type).to.equal('feat');
expect(conventionalCommits[0].scope).is.null;
expect(conventionalCommits[1].type).to.equal('fix');
expect(conventionalCommits[1].scope).to.equal('utils');
expect(conventionalCommits[2].type).to.equal('feat');
expect(conventionalCommits[2].scope).to.equal('utils');
});

// Refs: #1257
it('removes content before and after BREAKING CHANGE in body', async () => {
const commits = [buildCommitFromFixture('1257-breaking-change')];
Expand Down

0 comments on commit 8f21f41

Please sign in to comment.