diff options
Diffstat (limited to 'tools/prettier-plugin-astro/test/astro-prettier.test.js')
-rw-r--r-- | tools/prettier-plugin-astro/test/astro-prettier.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/prettier-plugin-astro/test/astro-prettier.test.js b/tools/prettier-plugin-astro/test/astro-prettier.test.js index 99ece2a30..cf0f0c87c 100644 --- a/tools/prettier-plugin-astro/test/astro-prettier.test.js +++ b/tools/prettier-plugin-astro/test/astro-prettier.test.js @@ -2,10 +2,10 @@ import { suite } from 'uvu'; import * as assert from 'uvu/assert'; import { format } from './test-utils.js'; import { promises as fs } from 'fs'; -import { fileURLToPath } from 'url' +import { fileURLToPath } from 'url'; const Prettier = suite('Prettier formatting'); -const readFile = (path) => fs.readFile(fileURLToPath(new URL(`./fixtures${path}`, import.meta.url))).then(res => res.toString()) +const readFile = (path) => fs.readFile(fileURLToPath(new URL(`./fixtures${path}`, import.meta.url))).then((res) => res.toString()); /** * Utility to get `[src, out]` files |