Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic authored and astrobot-houston committed Jan 16, 2025
1 parent 2e12f1d commit 9b0a624
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/astro/test/content-layer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' });
Expand All @@ -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', () => {
Expand Down

0 comments on commit 9b0a624

Please sign in to comment.