diff options
author | 2023-02-08 21:44:40 +0000 | |
---|---|---|
committer | 2023-02-08 21:44:40 +0000 | |
commit | e4b2a2e3c7f1dc86afc31144e6db531dd0ed8cfc (patch) | |
tree | 489eca3b4e335a61fffcec605a3728fc69937b35 | |
parent | 6fa6025b34b9447e142c4788c0cdc2dfe03f334f (diff) | |
download | astro-e4b2a2e3c7f1dc86afc31144e6db531dd0ed8cfc.tar.gz astro-e4b2a2e3c7f1dc86afc31144e6db531dd0ed8cfc.tar.zst astro-e4b2a2e3c7f1dc86afc31144e6db531dd0ed8cfc.zip |
[ci] format
-rw-r--r-- | packages/astro/test/test-utils.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/astro/test/test-utils.js b/packages/astro/test/test-utils.js index 13d3aa00a..856c0b09f 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, { |