0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-03 22:29:08 -05:00

chore: remove stray console log

This commit is contained in:
bholmesdev 2024-08-08 11:34:31 -04:00
parent bad5c7f236
commit dc306cfc41

View file

@ -200,7 +200,6 @@ describe('Astro Actions', () => {
assert.equal(res.status, 401);
const html = await res.text();
console.log({ html });
let $ = cheerio.load(html);
assert.equal($('#error-message').text(), 'Not logged in');
assert.equal($('#error-code').text(), 'UNAUTHORIZED');
@ -362,7 +361,7 @@ async function followExpectedRedirect(req, app) {
const redirect = await app.render(req, { addCookieHeader: true });
assert.ok(
validRedirectStatuses.has(redirect.status),
`Expected redirect status, got ${redirect.status}`
`Expected redirect status, got ${redirect.status}`,
);
const redirectUrl = new URL(redirect.headers.get('Location'), req.url);