summaryrefslogtreecommitdiff
path: root/packages/astro/e2e/astro-component.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/astro/e2e/astro-component.test.js')
-rw-r--r--packages/astro/e2e/astro-component.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/e2e/astro-component.test.js b/packages/astro/e2e/astro-component.test.js
index d8fd4a2be..3a3c738b3 100644
--- a/packages/astro/e2e/astro-component.test.js
+++ b/packages/astro/e2e/astro-component.test.js
@@ -35,7 +35,7 @@ test.describe('Astro component HMR', () => {
);
});
- test('hoisted scripts', async ({ page, astro }) => {
+ test('Scripts', async ({ page, astro }) => {
const initialLog = page.waitForEvent(
'console',
(message) => message.text() === 'Hello, Astro!',
@@ -52,7 +52,7 @@ test.describe('Astro component HMR', () => {
(message) => message.text() === 'Hello, updated Astro!',
);
- // Edit the hoisted script on the page
+ // Edit the script on the page
await astro.editFile('./src/pages/index.astro', (content) =>
content.replace('Hello, Astro!', 'Hello, updated Astro!'),
);