From ee1c8d50cc8f8fd3a70f5ecd13926b0a1bd083f0 Mon Sep 17 00:00:00 2001 From: Mike Penz Date: Tue, 14 Sep 2021 13:48:34 +0200 Subject: [PATCH] - update test verification for proper sorting --- __tests__/transform.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/transform.test.ts b/__tests__/transform.test.ts index 0a82d1b..8844891 100644 --- a/__tests__/transform.test.ts +++ b/__tests__/transform.test.ts @@ -311,7 +311,7 @@ it('Deduplicate duplicated PRs', async () => { }) expect(resultChangelog).toStrictEqual( - `## 🚀 Features\n\n- [ABC-1234] - this is a PR 3 title message\n - PR: #3\n\n## 🐛 Fixes\n\n- [ABC-1234] - this is a PR 3 title message\n - PR: #3\n- [ABC-4321] - this is a PR 2 title message\n - PR: #2\n\n` + `## 🚀 Features\n\n- [ABC-1234] - this is a PR 3 title message\n - PR: #3\n\n## 🐛 Fixes\n\n- [ABC-4321] - this is a PR 2 title message\n - PR: #2\n- [ABC-1234] - this is a PR 3 title message\n - PR: #3\n\n` ) })