9bd2d619c0
<!-- CURSOR_SUMMARY --> > [!NOTE] > Refactors the ESM file URL test for `getCallerDirectory` to use temp paths and `pathToFileURL`, removing hardcoded paths and a redundant case. > > - **Tests** (`packages/js-sdk/tests/template/utils/getCallerDirectory.test.ts`): > - Refactor ESM `file://` handling test to be platform-agnostic: > - Use `os.tmpdir()` and `path.join` to build test paths. > - Use `pathToFileURL` instead of string-building `file://` URLs. > - Update assertions to compare against computed paths. > - Remove redundant "three slashes" `file://` URL test. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 08a197d1fe86d609e08e333f0226051e5c7e36e3. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->