summaryrefslogtreecommitdiff
path: root/packages/astro-rss/test/rss.test.js
diff options
context:
space:
mode:
authorGravatar FredKSchott <FredKSchott@users.noreply.github.com> 2022-07-18 22:02:35 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2022-07-18 22:02:35 +0000
commit39c864773bc44145dff969afc4a1d576ca5facd3 (patch)
tree66497b03ff186312a64e43904b0be30f025363bf /packages/astro-rss/test/rss.test.js
parent57e529e4c13f3e7829311ac6f92682eb6333fd96 (diff)
downloadastro-39c864773bc44145dff969afc4a1d576ca5facd3.tar.gz
astro-39c864773bc44145dff969afc4a1d576ca5facd3.tar.zst
astro-39c864773bc44145dff969afc4a1d576ca5facd3.zip
[ci] format
Diffstat (limited to '')
-rw-r--r--packages/astro-rss/test/rss.test.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/packages/astro-rss/test/rss.test.js b/packages/astro-rss/test/rss.test.js
index f4dc0ba6e..08d56fa92 100644
--- a/packages/astro-rss/test/rss.test.js
+++ b/packages/astro-rss/test/rss.test.js
@@ -130,15 +130,17 @@ describe('rss', () => {
await rss({
title,
description,
- items: [phpFeedItem, web1FeedItem]
+ items: [phpFeedItem, web1FeedItem],
});
-
+
chai.expect(false).to.equal(true, 'Should have errored');
} catch (err) {
- chai.expect(err.message).to.contain('[RSS] the "site" option is required, but no value was given.');
+ chai
+ .expect(err.message)
+ .to.contain('[RSS] the "site" option is required, but no value was given.');
}
});
-
+
it('should provide a good error message when a link is not provided', async () => {
try {
await rss({