From 8d73b488744f915ae7fc1889253bb814fda89902 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Sat, 15 Jul 2023 12:58:07 -0400 Subject: [PATCH] Improve error message --- tests/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils.ts b/tests/utils.ts index 19c8ab8d..27a4b8cd 100644 --- a/tests/utils.ts +++ b/tests/utils.ts @@ -32,7 +32,7 @@ export async function fixture( assert( exists, - `Fixture file ${fixtureFilePath} does not exist. To make this work, place a new file ${fixtureFilePath} in the tests/fixtures/${scenario} directory` + `Fixture file ${file} does not exist. To make this work, place a new file ${file} in the tests/fixtures/${scenario} directory` ); let contents = await fs.readFile(fixtureFilePath);