Skip to content

Commit

Permalink
Windows path
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic committed Jul 4, 2024
1 parent d8aa5a5 commit 7f63b4a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/astro/test/content-layer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ describe('Content Layer', () => {
assert.ok(
json.dataEntry.filePath?.endsWith(
'packages/astro/test/fixtures/content-layer/src/data/dogs.json'
)
),
`Path must be set: ${json.dataEntry.filePath}`
);
delete json.dataEntry.filePath;
assert.deepEqual(json.dataEntry, {
Expand Down Expand Up @@ -182,7 +183,8 @@ describe('Content Layer', () => {
assert.ok(
json.dataEntry.filePath?.endsWith(
'packages/astro/test/fixtures/content-layer/src/data/dogs.json'
)
),
`Path must be set: ${json.dataEntry.filePath}`
);
delete json.dataEntry.filePath;
assert.deepEqual(json.dataEntry, {
Expand Down

0 comments on commit 7f63b4a

Please sign in to comment.