mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
[ci] format
This commit is contained in:
parent
2e12f1d752
commit
9b0a624c8c
1 changed files with 4 additions and 4 deletions
|
@ -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', () => {
|
||||
|
|
Loading…
Add table
Reference in a new issue