diff options
author | 2024-07-18 15:04:30 +0000 | |
---|---|---|
committer | 2024-07-18 15:04:30 +0000 | |
commit | a6371696680b8a4c9566cc1c68d7298ca9e3a7aa (patch) | |
tree | 26bb2b9e86ccc41fdc96dfb045498ddd7bbb2c88 /packages/integrations/vercel | |
parent | fe3afebd652289ec1b65eed983e804dbb37ed092 (diff) | |
download | astro-a6371696680b8a4c9566cc1c68d7298ca9e3a7aa.tar.gz astro-a6371696680b8a4c9566cc1c68d7298ca9e3a7aa.tar.zst astro-a6371696680b8a4c9566cc1c68d7298ca9e3a7aa.zip |
[ci] format
Diffstat (limited to 'packages/integrations/vercel')
-rw-r--r-- | packages/integrations/vercel/test/server-islands.test.js | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/packages/integrations/vercel/test/server-islands.test.js b/packages/integrations/vercel/test/server-islands.test.js index 060492584..0306bb8b2 100644 --- a/packages/integrations/vercel/test/server-islands.test.js +++ b/packages/integrations/vercel/test/server-islands.test.js @@ -14,15 +14,13 @@ describe('Server Islands', () => { }); it('server islands route is in the config', async () => { - const config = JSON.parse( - await fixture.readFile('../.vercel/output/config.json') - ); + const config = JSON.parse(await fixture.readFile('../.vercel/output/config.json')); let found = null; - for(let route of config.routes) { - if(route.src?.includes('_server-islands')) { - found = route; - break; - } + for (let route of config.routes) { + if (route.src?.includes('_server-islands')) { + found = route; + break; + } } assert.notEqual(found, null, 'Default server islands route included'); }); |