Skip to content

Commit

Permalink
fix(test/feeds): fix wrong title in feed xml
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshinorin committed Jan 17, 2024
1 parent 736c521 commit 10e6c01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/unit/services/feed.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ test('generate sitemap.xml', async () => {
const result = await generateFeedsString('https://example.com', data);
expect(result.replace(/\s/g,"")).toEqual(
`<feed xmlns="http://www.w3.org/2005/Atom">
<title>E2E Test Site</title>
<title>yourSiteName</title>
<link href="https://example.com/feeds/index.xml" rel="self"/>
<link href="https://example.com"/>
<updated>2024-01-17T12:03:03.000Z</updated>
Expand Down

0 comments on commit 10e6c01

Please sign in to comment.