diff --git a/packages/astro/src/content/runtime.ts b/packages/astro/src/content/runtime.ts index 484fe6a8d3..6fd017c85c 100644 --- a/packages/astro/src/content/runtime.ts +++ b/packages/astro/src/content/runtime.ts @@ -114,7 +114,7 @@ export function createGetCollection({ if (typeof filter === 'function') { return entries.filter(filter); } else { - // Clone the array so users can safely mutate it. + // Clone the array so users can safely mutate it. // slice() is faster than ...spread for large arrays. return entries.slice(); } diff --git a/packages/astro/test/content-collections.test.js b/packages/astro/test/content-collections.test.js index 7996f1161d..828e10940f 100644 --- a/packages/astro/test/content-collections.test.js +++ b/packages/astro/test/content-collections.test.js @@ -389,7 +389,5 @@ describe('Content Collections', () => { assert.equal(index, anotherPage); }); - }); - });