0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-17 22:44:24 -05:00

[ci] format

This commit is contained in:
Florian Lefebvre 2024-06-20 14:19:27 +00:00 committed by astrobot-houston
parent 7f956f0795
commit dbbd0a22e2

View file

@ -49,19 +49,19 @@ describe('Printing', () => {
});
it('Properly handles force redirects', () => {
const _redirects = new Redirects();
const _redirects = new Redirects();
_redirects.add({
dynamic: false,
input: '/a',
target: '/b',
status: 200,
weight: 1,
force: true
force: true,
});
let out = _redirects.print();
let parts = out.split(/\s+/);
const expectedParts = ['/a', '/b', '200!'];
assert.deepEqual(parts, expectedParts);
})
});
});