|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
2 | 2 |
|
3 | | -exports[`blogFeed atom can show feed without posts 1`] = ` |
4 | | -"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?> |
5 | | -<feed xmlns=\\"http://www.w3.org/2005/Atom\\"> |
6 | | - <id>https://docusaurus.io/blog</id> |
7 | | - <title>Hello Blog</title> |
8 | | - <updated>2015-10-25T23:29:00.000Z</updated> |
9 | | - <generator>https://github.com/jpmonette/feed</generator> |
10 | | - <link rel=\\"alternate\\" href=\\"https://docusaurus.io/blog\\"/> |
11 | | - <subtitle>Hello Blog</subtitle> |
12 | | - <icon>https://docusaurus.io/image/favicon.ico</icon> |
13 | | - <rights>Copyright</rights> |
14 | | -</feed>" |
15 | | -`; |
| 3 | +exports[`blogFeed atom should not show feed without posts 1`] = `null`; |
16 | 4 |
|
17 | 5 | exports[`blogFeed atom shows feed item for each post 1`] = ` |
18 | 6 | "<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?> |
@@ -49,20 +37,7 @@ exports[`blogFeed atom shows feed item for each post 1`] = ` |
49 | 37 | </feed>" |
50 | 38 | `; |
51 | 39 |
|
52 | | -exports[`blogFeed rss can show feed without posts 1`] = ` |
53 | | -"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?> |
54 | | -<rss version=\\"2.0\\"> |
55 | | - <channel> |
56 | | - <title>Hello Blog</title> |
57 | | - <link>https://docusaurus.io/blog</link> |
58 | | - <description>Hello Blog</description> |
59 | | - <lastBuildDate>Sun, 25 Oct 2015 23:29:00 GMT</lastBuildDate> |
60 | | - <docs>https://validator.w3.org/feed/docs/rss2.html</docs> |
61 | | - <generator>https://github.com/jpmonette/feed</generator> |
62 | | - <copyright>Copyright</copyright> |
63 | | - </channel> |
64 | | -</rss>" |
65 | | -`; |
| 40 | +exports[`blogFeed rss should not show feed without posts 1`] = `null`; |
66 | 41 |
|
67 | 42 | exports[`blogFeed rss shows feed item for each post 1`] = ` |
68 | 43 | "<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?> |
|
0 commit comments