Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored and astrobot-houston committed Nov 21, 2024
1 parent a23985b commit e329657
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/astro/test/i18n-routing.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit e329657

Please sign in to comment.