diff options
author | 2023-11-22 23:05:19 +0800 | |
---|---|---|
committer | 2023-11-22 23:05:19 +0800 | |
commit | bd0c2e9ae3389a9d3085050c1e8134ae98dff299 (patch) | |
tree | e9264ded31dcb575987fed9c1b49cdbf846bc3a6 /packages/astro/test/astro-scripts.test.js | |
parent | 560ff29e74602027715769e62abd12b82185f3f6 (diff) | |
download | astro-bd0c2e9ae3389a9d3085050c1e8134ae98dff299.tar.gz astro-bd0c2e9ae3389a9d3085050c1e8134ae98dff299.tar.zst astro-bd0c2e9ae3389a9d3085050c1e8134ae98dff299.zip |
Rename entryPoint to entrypoint (#9161)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Diffstat (limited to 'packages/astro/test/astro-scripts.test.js')
-rw-r--r-- | packages/astro/test/astro-scripts.test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/test/astro-scripts.test.js b/packages/astro/test/astro-scripts.test.js index ae2268d80..f36e24d92 100644 --- a/packages/astro/test/astro-scripts.test.js +++ b/packages/astro/test/astro-scripts.test.js @@ -145,7 +145,7 @@ describe('Scripts (hoisted and not)', () => { hooks: { 'astro:config:setup': ({ injectRoute, injectScript }) => { injectScript('page', `import '/src/scripts/something.js';`); - injectRoute({ pattern: 'injected-route', entryPoint: 'src/external-page.astro' }); + injectRoute({ pattern: 'injected-route', entrypoint: 'src/external-page.astro' }); }, }, }, |