From e650ec7ff4f78ecd21c63df4a82807a1a9714fce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deniz=20G=C3=B6k=C3=A7in?= Date: Thu, 12 Sep 2024 01:33:52 +0200 Subject: [PATCH] test: remove duplicate test for parsing multiple commits --- test/commits.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/test/commits.ts b/test/commits.ts index 135acfc9d..76c29183c 100644 --- a/test/commits.ts +++ b/test/commits.ts @@ -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')];