summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2023-09-20 13:20:38 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2023-09-20 13:20:38 +0000
commit0119a271aef0c8e25663b3a456d62a523db3428b (patch)
tree8359bb6d344be7f292615f948370e2d4416c206e
parent8f8b9069ddd21cf57d37955ab3a92710492226f5 (diff)
downloadastro-0119a271aef0c8e25663b3a456d62a523db3428b.tar.gz
astro-0119a271aef0c8e25663b3a456d62a523db3428b.tar.zst
astro-0119a271aef0c8e25663b3a456d62a523db3428b.zip
[ci] format
Diffstat (limited to '')
-rw-r--r--packages/astro/components/ViewTransitions.astro2
-rw-r--r--packages/astro/e2e/view-transitions.test.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/components/ViewTransitions.astro b/packages/astro/components/ViewTransitions.astro
index 1e59d89d9..39b9996ce 100644
--- a/packages/astro/components/ViewTransitions.astro
+++ b/packages/astro/components/ViewTransitions.astro
@@ -175,7 +175,7 @@ const { fallback = 'animate' } = Astro.props as Props;
);
// Replace scripts in both the head and body.
- for(const s1 of document.scripts) {
+ for (const s1 of document.scripts) {
for (const s2 of newDocument.scripts) {
if (
// Inline
diff --git a/packages/astro/e2e/view-transitions.test.js b/packages/astro/e2e/view-transitions.test.js
index 0ff18a150..d777d9b2f 100644
--- a/packages/astro/e2e/view-transitions.test.js
+++ b/packages/astro/e2e/view-transitions.test.js
@@ -682,7 +682,7 @@ test.describe('View Transitions', () => {
test('body inline scripts do not re-execute on navigation', async ({ page, astro }) => {
const errors = [];
- page.addListener('pageerror', err => {
+ page.addListener('pageerror', (err) => {
errors.push(err);
});