mirror of
https://github.com/withastro/astro.git
synced 2025-04-07 23:41:43 -05:00
[ci] format
This commit is contained in:
parent
055fe293c6
commit
f456fed23c
1 changed files with 2 additions and 2 deletions
|
@ -248,9 +248,9 @@ describe('Astro.redirect', () => {
|
|||
|
||||
it('performs dynamic redirects with special characters', async () => {
|
||||
// encodeURI("/more/old/’")
|
||||
const response = await fixture.fetch("/more/old/%E2%80%99", { redirect: 'manual' });
|
||||
const response = await fixture.fetch('/more/old/%E2%80%99', { redirect: 'manual' });
|
||||
assert.equal(response.status, 301);
|
||||
assert.equal(response.headers.get('Location'), "/more/%E2%80%99");
|
||||
assert.equal(response.headers.get('Location'), '/more/%E2%80%99');
|
||||
});
|
||||
|
||||
it('performs dynamic redirects with multiple params', async () => {
|
||||
|
|
Loading…
Add table
Reference in a new issue