[ci] format
This commit is contained in:
parent
8f8b9069dd
commit
0119a271ae
2 changed files with 2 additions and 2 deletions
|
@ -175,7 +175,7 @@ const { fallback = 'animate' } = Astro.props as Props;
|
||||||
);
|
);
|
||||||
|
|
||||||
// Replace scripts in both the head and body.
|
// 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) {
|
for (const s2 of newDocument.scripts) {
|
||||||
if (
|
if (
|
||||||
// Inline
|
// Inline
|
||||||
|
|
|
@ -682,7 +682,7 @@ test.describe('View Transitions', () => {
|
||||||
|
|
||||||
test('body inline scripts do not re-execute on navigation', async ({ page, astro }) => {
|
test('body inline scripts do not re-execute on navigation', async ({ page, astro }) => {
|
||||||
const errors = [];
|
const errors = [];
|
||||||
page.addListener('pageerror', err => {
|
page.addListener('pageerror', (err) => {
|
||||||
errors.push(err);
|
errors.push(err);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue