Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored and astrobot-houston committed Feb 13, 2024
1 parent 37c7510 commit bcd9202
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions packages/integrations/vercel/test/redirects.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe('Redirects', () => {
const config = await getConfig();

const staticRoute = config.routes.find((r) => r.src === '/Basic/http-2-0.html');
assert.notEqual(staticRoute, undefined)
assert.notEqual(staticRoute, undefined);
assert.equal(staticRoute.headers.Location, '/posts/http2');
assert.equal(staticRoute.status, 301);
});
Expand All @@ -75,6 +75,9 @@ describe('Redirects', () => {

it('does not define trailingSlash redirect for root page', async () => {
const config = await getConfig();
assert.equal(config.routes.find((r) => r.src === '/'), undefined);
assert.equal(
config.routes.find((r) => r.src === '/'),
undefined
);
});
});
2 changes: 1 addition & 1 deletion packages/integrations/vercel/test/speed-insights.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('Vercel Speed Insights', () => {

const bundle = await fixture.readFile(`../.vercel/output/static/_astro/${page}`);

assert.match(bundle, /https:\/\/vitals.vercel-analytics.com\/v1\/vitals/)
assert.match(bundle, /https:\/\/vitals.vercel-analytics.com\/v1\/vitals/);
});
});

Expand Down

0 comments on commit bcd9202

Please sign in to comment.