Skip to content

Commit

Permalink
test: improve assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
restfulhead committed Feb 23, 2024
1 parent 820e33a commit fcad699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/__tests__/release.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit fcad699

Please sign in to comment.