diff --git a/packages/backend-test-utils/src/filesystem/MockDirectory.ts b/packages/backend-test-utils/src/filesystem/MockDirectory.ts index 499c7f29fb..2f949987f5 100644 --- a/packages/backend-test-utils/src/filesystem/MockDirectory.ts +++ b/packages/backend-test-utils/src/filesystem/MockDirectory.ts @@ -238,7 +238,7 @@ export class MockDirectory { const fullPath = resolvePath(this.#root, entry.path); if (!isChildPath(this.#root, fullPath)) { throw new Error( - `Provided path must resolve to a child path of the mock directory, got '${entry.path}'`, + `Provided path must resolve to a child path of the mock directory, got '${fullPath}'`, ); }