summaryrefslogtreecommitdiff
path: root/packages/astro-rss/test
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2022-07-13 20:39:29 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2022-07-13 20:39:29 +0000
commitfa8ec57f16a970e642e69eeeba425a1affd05189 (patch)
treef88dc5166daa882dc1bae4490341999746b3a812 /packages/astro-rss/test
parentcd2dbfedb15969274df40b1c41b6680ea8885e8d (diff)
downloadastro-fa8ec57f16a970e642e69eeeba425a1affd05189.tar.gz
astro-fa8ec57f16a970e642e69eeeba425a1affd05189.tar.zst
astro-fa8ec57f16a970e642e69eeeba425a1affd05189.zip
[ci] format
Diffstat (limited to 'packages/astro-rss/test')
-rw-r--r--packages/astro-rss/test/rss.test.js16
1 files changed, 9 insertions, 7 deletions
diff --git a/packages/astro-rss/test/rss.test.js b/packages/astro-rss/test/rss.test.js
index bc5816142..84cf7e36c 100644
--- a/packages/astro-rss/test/rss.test.js
+++ b/packages/astro-rss/test/rss.test.js
@@ -131,16 +131,18 @@ describe('rss', () => {
title: 'Your Website Title',
description: 'Your Website Description',
site: 'https://astro-demo',
- items: [{
- pubDate: new Date(),
- title: 'Some title',
- slug: 'foo'
- }]
+ items: [
+ {
+ pubDate: new Date(),
+ title: 'Some title',
+ slug: 'foo',
+ },
+ ],
});
chai.expect(false).to.equal(true, 'Should have errored');
- } catch(err) {
+ } catch (err) {
chai.expect(err.message).to.contain('Required field [link] is missing');
}
});
- })
+ });
});