0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-20 22:12:38 -05:00

[ci] format

This commit is contained in:
Matt Kane 2025-01-16 09:25:34 +00:00 committed by astrobot-houston
parent 2e12f1d752
commit 9b0a624c8c

View file

@ -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', () => {