Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Jul 15, 2023
1 parent 8c80169 commit d0df66d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export async function fixture(

assert(
exists,
`Fixture file ${file} does not exist. To make this work, place a new file ${file} 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. Checked the absolute path: '${fixtureFilePath}'.`
);

let contents = await fs.readFile(fixtureFilePath);
Expand Down

0 comments on commit d0df66d

Please sign in to comment.