From fcad69923d118e1880bac17441cdb7d317a16531 Mon Sep 17 00:00:00 2001 From: Patrick Ruhkopf Date: Fri, 23 Feb 2024 18:26:02 -0500 Subject: [PATCH] test: improve assertion --- packages/core/src/__tests__/release.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/__tests__/release.test.ts b/packages/core/src/__tests__/release.test.ts index 578fd55fa..93d6da47e 100644 --- a/packages/core/src/__tests__/release.test.ts +++ b/packages/core/src/__tests__/release.test.ts @@ -540,7 +540,7 @@ describe("Release", () => { }); await gh.addToChangelog("# My new Notes", "my-tag-name-v1.0.0", "v1.0.0"); - expect(writeSpy.mock.calls[0][1].includes(`1.0.1`)).toBe(true); + expect(writeSpy.mock.calls[0][1].includes(`v1.0.1`)).toBe(true); }); test("creates changelog with named tag", async () => {