diff options
Diffstat (limited to 'tools/prettier-plugin-astro/test/test-utils.js')
-rw-r--r-- | tools/prettier-plugin-astro/test/test-utils.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tools/prettier-plugin-astro/test/test-utils.js b/tools/prettier-plugin-astro/test/test-utils.js deleted file mode 100644 index c97fd82de..000000000 --- a/tools/prettier-plugin-astro/test/test-utils.js +++ /dev/null @@ -1,12 +0,0 @@ -import prettier from 'prettier'; -import { fileURLToPath } from 'url'; -/** - * format the contents of an astro file - * @param contents {string} - */ -export function format(contents) { - return prettier.format(contents, { - parser: 'astro', - plugins: [fileURLToPath(new URL('../', import.meta.url))], - }); -} |