[ci] format
This commit is contained in:
parent
1bf12260af
commit
54aba7231d
4 changed files with 9 additions and 9 deletions
|
@ -16,10 +16,10 @@ export interface LogOptions {
|
|||
|
||||
// Hey, locales are pretty complicated! Be careful modifying this logic...
|
||||
// If we throw at the top-level, international users can't use Astro.
|
||||
//
|
||||
//
|
||||
// Using `[]` sets the default locale properly from the system!
|
||||
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#parameters
|
||||
//
|
||||
//
|
||||
// Here be the dragons we've slain:
|
||||
// https://github.com/withastro/astro/issues/2625
|
||||
// https://github.com/withastro/astro/issues/3309
|
||||
|
|
|
@ -118,13 +118,13 @@ describe('astro cli i18n', () => {
|
|||
const projectRootURL = new URL('./fixtures/astro-basic/', import.meta.url);
|
||||
let error = null;
|
||||
try {
|
||||
const proc = cli('dev', '--root', fileURLToPath(projectRootURL), { env: { LANG: locale }});
|
||||
await parseCliDevStart(proc)
|
||||
const proc = cli('dev', '--root', fileURLToPath(projectRootURL), { env: { LANG: locale } });
|
||||
await parseCliDevStart(proc);
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
error = e.message;
|
||||
}
|
||||
expect(error).to.be.null;
|
||||
});
|
||||
})
|
||||
})
|
||||
});
|
||||
});
|
||||
|
|
|
@ -33,7 +33,7 @@ describe('Error display', () => {
|
|||
});
|
||||
});
|
||||
|
||||
describe('Framework components', function() {
|
||||
describe('Framework components', function () {
|
||||
let devServer;
|
||||
|
||||
before(async () => {
|
||||
|
|
|
@ -8,10 +8,10 @@ type ConsoleStream = Writable & {
|
|||
|
||||
// Hey, locales are pretty complicated! Be careful modifying this logic...
|
||||
// If we throw at the top-level, international users can't use Astro.
|
||||
//
|
||||
//
|
||||
// Using `[]` sets the default locale properly from the system!
|
||||
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#parameters
|
||||
//
|
||||
//
|
||||
// Here be the dragons we've slain:
|
||||
// https://github.com/withastro/astro/issues/2625
|
||||
// https://github.com/withastro/astro/issues/3309
|
||||
|
|
Loading…
Reference in a new issue