diff options
Diffstat (limited to 'test/test-utils.js')
-rw-r--r-- | test/test-utils.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/test-utils.js b/test/test-utils.js index 5d5182636..6a71d834a 100644 --- a/test/test-utils.js +++ b/test/test-utils.js @@ -6,13 +6,13 @@ export function doc(html) { return cheerio.load(html); } -/** - * format the contents of an astro file - * @param contents {string} - */ +/** + * format the contents of an astro file + * @param contents {string} + */ export function format(contents) { return prettier.format(contents, { - parser: 'astro', - plugins: [fileURLToPath(new URL('../prettier-plugin-astro', import.meta.url))] - }) + parser: 'astro', + plugins: [fileURLToPath(new URL('../prettier-plugin-astro', import.meta.url))], + }); } |