From dead4c6acfd7d90d627ca5e9e8377baf128c8882 Mon Sep 17 00:00:00 2001 From: wrapperup Date: Wed, 10 May 2023 00:22:58 -0400 Subject: [PATCH] tests: fix astro ssr locals test --- packages/astro/test/ssr-locals.test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/astro/test/ssr-locals.test.js b/packages/astro/test/ssr-locals.test.js index b9ca48d40cca2..c0801cab70482 100644 --- a/packages/astro/test/ssr-locals.test.js +++ b/packages/astro/test/ssr-locals.test.js @@ -35,7 +35,6 @@ describe('SSR Environment Variables', () => { expect(response.headers.get('Content-Length')).to.not.be.empty; const body = await response.json(); - expect(body.length).to.equal(1); - expect(body[0].foo).to.equal('bar'); + expect(body.foo).to.equal('bar'); }); });