summaryrefslogtreecommitdiff
path: root/test/helpers.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/helpers.js')
-rw-r--r--test/helpers.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/helpers.js b/test/helpers.js
index eb7cabb0b..b14005563 100644
--- a/test/helpers.js
+++ b/test/helpers.js
@@ -28,8 +28,8 @@ export function setup(Suite, fixturePath) {
context.runtime = runtime;
context.readFile = async (path) => {
const resolved = fileURLToPath(new URL(`${fixturePath}${path}`, import.meta.url));
- return readFile(resolved).then(r => r.toString('utf-8'));
- }
+ return readFile(resolved).then((r) => r.toString('utf-8'));
+ };
});
Suite.after(async () => {