summaryrefslogtreecommitdiff
path: root/tools/prettier-plugin-astro/test/astro-prettier.test.js
diff options
context:
space:
mode:
authorGravatar Drew Powers <1369770+drwpow@users.noreply.github.com> 2021-05-03 12:26:10 -0600
committerGravatar GitHub <noreply@github.com> 2021-05-03 12:26:10 -0600
commit94038d329705acb79a0f804458821d43f59121db (patch)
tree0f11c52b13a6de9344a83c900466b1bceb888bbe /tools/prettier-plugin-astro/test/astro-prettier.test.js
parentc93201a909105bb0ef75278d9635de4b5b8734e7 (diff)
downloadastro-94038d329705acb79a0f804458821d43f59121db.tar.gz
astro-94038d329705acb79a0f804458821d43f59121db.tar.zst
astro-94038d329705acb79a0f804458821d43f59121db.zip
Format (#167)
Diffstat (limited to 'tools/prettier-plugin-astro/test/astro-prettier.test.js')
-rw-r--r--tools/prettier-plugin-astro/test/astro-prettier.test.js4
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