From e4b2a2e3c7f1dc86afc31144e6db531dd0ed8cfc Mon Sep 17 00:00:00 2001 From: matthewp Date: Wed, 8 Feb 2023 21:44:40 +0000 Subject: [PATCH] [ci] format --- packages/astro/test/test-utils.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/astro/test/test-utils.js b/packages/astro/test/test-utils.js index 13d3aa00a8..856c0b09fe 100644 --- a/packages/astro/test/test-utils.js +++ b/packages/astro/test/test-utils.js @@ -167,7 +167,10 @@ export async function loadFixture(inlineConfig) { }, pathExists: (p) => fs.existsSync(new URL(p.replace(/^\//, ''), config.outDir)), readFile: (filePath, encoding) => - fs.promises.readFile(new URL(filePath.replace(/^\//, ''), config.outDir), encoding === undefined ? 'utf8' : encoding), + fs.promises.readFile( + new URL(filePath.replace(/^\//, ''), config.outDir), + encoding === undefined ? 'utf8' : encoding + ), readdir: (fp) => fs.promises.readdir(new URL(fp.replace(/^\//, ''), config.outDir)), glob: (p) => fastGlob(p, {