summaryrefslogtreecommitdiff
path: root/packages/astro-rss/test
diff options
context:
space:
mode:
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');
}
});
- })
+ });
});