mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[ci] format
This commit is contained in:
parent
a23985b021
commit
e329657a00
1 changed files with 3 additions and 3 deletions
|
@ -87,13 +87,13 @@ describe('[DEV] i18n routing', () => {
|
|||
const response = await fixture.fetch('/es/nonexistent-page');
|
||||
assert.equal(response.status, 404);
|
||||
assert.equal((await response.text()).includes('Current Locale: es'), true);
|
||||
});
|
||||
});
|
||||
|
||||
it('should return the correct locale on 404 page for non existing english locale page', async () => {
|
||||
it('should return the correct locale on 404 page for non existing english locale page', async () => {
|
||||
const response = await fixture.fetch('/en/nonexistent-page');
|
||||
assert.equal(response.status, 404);
|
||||
assert.equal((await response.text()).includes('Current Locale: en'), true);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('i18n routing', () => {
|
||||
|
|
Loading…
Reference in a new issue