summaryrefslogtreecommitdiff
path: root/packages/astro/test/ssr-split-manifest.test.js
diff options
context:
space:
mode:
authorGravatar Emanuele Stoppa <my.burning@gmail.com> 2023-06-27 11:58:23 +0100
committerGravatar GitHub <noreply@github.com> 2023-06-27 11:58:23 +0100
commit60140374418ff0ee80899615be8e718ae57f791a (patch)
treed315fb97186e4a9af601c3f93ff966eb678b6833 /packages/astro/test/ssr-split-manifest.test.js
parent57e603038fa51f5cf023c086705e2ced67434b38 (diff)
downloadastro-60140374418ff0ee80899615be8e718ae57f791a.tar.gz
astro-60140374418ff0ee80899615be8e718ae57f791a.tar.zst
astro-60140374418ff0ee80899615be8e718ae57f791a.zip
fix: correct URL for entry points (#7490)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Diffstat (limited to '')
-rw-r--r--packages/astro/test/ssr-split-manifest.test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/test/ssr-split-manifest.test.js b/packages/astro/test/ssr-split-manifest.test.js
index 5005f6279..6d3167bec 100644
--- a/packages/astro/test/ssr-split-manifest.test.js
+++ b/packages/astro/test/ssr-split-manifest.test.js
@@ -41,7 +41,7 @@ describe('astro:ssr-manifest, split', () => {
it('should give access to entry points that exists on file system', async () => {
// number of the pages inside src/
expect(entryPoints.size).to.equal(4);
- for (const fileUrl in entryPoints.values()) {
+ for (const fileUrl of entryPoints.values()) {
let filePath = fileURLToPath(fileUrl);
expect(existsSync(filePath)).to.be.true;
}