Skip to content

Commit d320fb0

Browse files
author
Decebal Dobrica
authored
test: 💍 update rss2 snapshots (#79)
1 parent bd219cf commit d320fb0

File tree

3 files changed

+19
-14
lines changed

3 files changed

+19
-14
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
],
3333
"dependencies": {
3434
"async-cache": "^1.1.0",
35-
"consola": "^2.9.0",
36-
"feed": "^4.0.0"
35+
"consola": "^2.12.1",
36+
"feed": "^4.1.0"
3737
},
3838
"devDependencies": {
3939
"@commitlint/cli": "latest",

test/__snapshots__/module.test.js.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ exports[`module factory rss 1`] = `
1010
<link>http://example.com/</link>
1111
<description>This is my personal feed!</description>
1212
<lastBuildDate>Fri, 14 Jul 2000 00:00:00 GMT</lastBuildDate>
13-
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
13+
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
1414
<generator>awesome</generator>
1515
<image>
1616
<title>Feed Title</title>
@@ -31,7 +31,7 @@ exports[`module function rss 1`] = `
3131
<link>http://example.com/</link>
3232
<description>This is my personal feed!</description>
3333
<lastBuildDate>Fri, 14 Jul 2000 00:00:00 GMT</lastBuildDate>
34-
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
34+
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
3535
<generator>awesome</generator>
3636
<image>
3737
<title>Feed Title</title>
@@ -52,7 +52,7 @@ exports[`module generate simple rss 1`] = `
5252
<link>http://example.com/</link>
5353
<description>This is my personal feed!</description>
5454
<lastBuildDate>Fri, 14 Jul 2000 00:00:00 GMT</lastBuildDate>
55-
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
55+
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
5656
<generator>awesome</generator>
5757
<image>
5858
<title>Feed Title</title>
@@ -73,7 +73,7 @@ exports[`module multi rss 1`] = `
7373
<link>http://example.com/</link>
7474
<description>This is my personal feed!</description>
7575
<lastBuildDate>Fri, 14 Jul 2000 00:00:00 GMT</lastBuildDate>
76-
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
76+
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
7777
<generator>awesome</generator>
7878
<image>
7979
<title>Feed Title</title>
@@ -94,7 +94,7 @@ exports[`module multi rss 2`] = `
9494
<link>http://example.com/</link>
9595
<description>This is my personal feed!</description>
9696
<lastBuildDate>Fri, 14 Jul 2000 00:00:00 GMT</lastBuildDate>
97-
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
97+
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
9898
<generator>awesome</generator>
9999
<image>
100100
<title>Feed Title</title>
@@ -117,7 +117,7 @@ exports[`module non-latin rss 1`] = `
117117
<link>http://site.ru/feed.xml</link>
118118
<description>Новости России и мира на сайте site.ru</description>
119119
<lastBuildDate>Fri, 14 Jul 2000 00:00:00 GMT</lastBuildDate>
120-
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
120+
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
121121
<generator>https://github.com/nuxt-community/feed-module</generator>
122122
</channel>
123123
</rss>"
@@ -131,7 +131,7 @@ exports[`module object rss 1`] = `
131131
<link>http://example.com/</link>
132132
<description>This is my personal feed!</description>
133133
<lastBuildDate>Fri, 14 Jul 2000 00:00:00 GMT</lastBuildDate>
134-
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
134+
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
135135
<generator>awesome</generator>
136136
<image>
137137
<title>Feed Title</title>
@@ -189,7 +189,7 @@ exports[`module simple rss 1`] = `
189189
<link>http://example.com/</link>
190190
<description>This is my personal feed!</description>
191191
<lastBuildDate>Fri, 14 Jul 2000 00:00:00 GMT</lastBuildDate>
192-
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
192+
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
193193
<generator>awesome</generator>
194194
<image>
195195
<title>Feed Title</title>

yarn.lock

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2795,6 +2795,11 @@ connect@^3.6.6, connect@^3.7.0:
27952795
parseurl "~1.3.3"
27962796
utils-merge "1.0.1"
27972797

2798+
consola@^2.12.1:
2799+
version "2.12.1"
2800+
resolved "https://registry.yarnpkg.com/consola/-/consola-2.12.1.tgz#88e9311a02cb88a7f6f9488239dd30b6ba99cbb0"
2801+
integrity sha512-aEkkju9ZcEa9y2MhzNhfmTUws/CEZZ0LKu0FxftSU3HygPfVMMIMSYyYct+xBN6XNRhsaDZjw2HAv3m2ammXSA==
2802+
27982803
consola@^2.3.0, consola@^2.6.0, consola@^2.9.0:
27992804
version "2.9.0"
28002805
resolved "https://registry.yarnpkg.com/consola/-/consola-2.9.0.tgz#57760e3a65a53ec27337f4add31505802d902278"
@@ -4287,10 +4292,10 @@ fb-watchman@^2.0.0:
42874292
dependencies:
42884293
bser "^2.0.0"
42894294

4290-
feed@^4.0.0:
4291-
version "4.0.0"
4292-
resolved "https://registry.yarnpkg.com/feed/-/feed-4.0.0.tgz#d3c2bfb9aba3c0efacab1ed15be06b67f5c02539"
4293-
integrity sha512-VWtvINgG7cA91BtrGychMvxHj84nc8xS9W/PuAHlY62I8owZtcoxNaKFN+zkGl8tBsaYbxrrp4yB9DhqKNQSPw==
4295+
feed@^4.1.0:
4296+
version "4.1.0"
4297+
resolved "https://registry.yarnpkg.com/feed/-/feed-4.1.0.tgz#58f1c9cc2b44715d14ac59234e1bf20c5d757aa7"
4298+
integrity sha512-dAXWXM8QMxZ1DRnAxDmy1MaWZFlh1Ku7TU3onbXgHrVJynsxkNGPUed1AxszVW8AXo43xExronVkIqK+ACsoBA==
42944299
dependencies:
42954300
xml-js "^1.6.11"
42964301

0 commit comments

Comments
 (0)