0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

fix(rss): update test name to better match behavior (#9646)

This commit is contained in:
Rob Mensching 2024-01-08 13:39:41 -08:00 committed by GitHub
parent 51c4c82e46
commit d77a0320b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,7 +100,7 @@ describe('pagesGlobToRssItems', () => {
return chai.expect(pagesGlobToRssItems(globResult)).to.not.be.rejected; return chai.expect(pagesGlobToRssItems(globResult)).to.not.be.rejected;
}); });
it('should fail on missing "description" key if "title" is present', () => { it('should not fail on missing "description" key if "title" is present', () => {
const globResult = { const globResult = {
'./posts/php.md': () => './posts/php.md': () =>
new Promise((resolve) => new Promise((resolve) =>