Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp authored and astrobot-houston committed Sep 20, 2023
1 parent 8f8b906 commit 0119a27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/astro/components/ViewTransitions.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/e2e/view-transitions.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

Expand Down

0 comments on commit 0119a27

Please sign in to comment.