Skip to content

Commit

Permalink
tests: fix astro ssr locals test
Browse files Browse the repository at this point in the history
  • Loading branch information
wrapperup authored and ematipico committed Jun 13, 2023
1 parent ae0f8e3 commit dead4c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/astro/test/ssr-locals.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});
});

0 comments on commit dead4c6

Please sign in to comment.