diff --git a/packages/astro/test/content-layer.test.js b/packages/astro/test/content-layer.test.js index 782004cbc3..82b576bda3 100644 --- a/packages/astro/test/content-layer.test.js +++ b/packages/astro/test/content-layer.test.js @@ -315,7 +315,6 @@ describe('Content Layer', () => { await fixture.resetAllFiles(); }); - it('can handle references being renamed after a build', async () => { let newJson = devalue.parse(await fixture.readFile('/collections.json')); assert.deepEqual(newJson.entryWithReference.data.cat, { collection: 'cats', id: 'tabby' }); @@ -327,11 +326,12 @@ describe('Content Layer', () => { }); await fixture.build(); newJson = devalue.parse(await fixture.readFile('/collections.json')); - assert.deepEqual(newJson.entryWithReference.data.cat, { collection: 'cats', id: 'tabby-cat' }); + assert.deepEqual(newJson.entryWithReference.data.cat, { + collection: 'cats', + id: 'tabby-cat', + }); await fixture.resetAllFiles(); }); - - }); describe('Dev', () => {