diff --git a/packages/astro/test/astro-scripts.test.js b/packages/astro/test/astro-scripts.test.js index 4eaa29a6a53a..062b3c04472a 100644 --- a/packages/astro/test/astro-scripts.test.js +++ b/packages/astro/test/astro-scripts.test.js @@ -159,9 +159,7 @@ describe('Scripts (hoisted and not)', () => { let found = 0; let moduleScripts = $('[type=module]'); moduleScripts.each((i, el) => { - if ( - $(el).attr('src').includes('?astro&type=script&index=0&lang.ts') - ) { + if ($(el).attr('src').includes('?astro&type=script&index=0&lang.ts')) { found++; } });