[ci] format

This commit is contained in:
bholmesdev 2022-03-11 22:26:21 +00:00 committed by GitHub Actions
parent 77b9c95352
commit d4dbfe8974

View file

@ -58,8 +58,10 @@ describe('astro cli', () => {
});
});
const hostToExposeFlags = [['', ''], ['--hostname', 'localhost']];
const hostToExposeFlags = [
['', ''],
['--hostname', 'localhost'],
];
hostToExposeFlags.forEach(([flag, flagValue]) => {
it(`astro ${cmd} ${flag} ${flagValue} - host to expose`, async () => {
const { local, network } = await cliServerLogSetupWithFixture([flag, flagValue], cmd);
@ -73,7 +75,11 @@ describe('astro cli', () => {
});
});
const noNetworkLogFlags = [['--host', 'localhost'], ['--host', '127.0.0.1'], ['--hostname', '127.0.0.1']];
const noNetworkLogFlags = [
['--host', 'localhost'],
['--host', '127.0.0.1'],
['--hostname', '127.0.0.1'],
];
noNetworkLogFlags.forEach(([flag, flagValue]) => {
it(`astro ${cmd} ${flag} ${flagValue} - no network log`, async () => {
const { local, network } = await cliServerLogSetupWithFixture([flag, flagValue], cmd);