tests: minor cleanups of tests/precompile_test.ts (#2870)
A tiny lesson that `URL` and `import.meta` can be used instead of `@std/path`. Also, might fix CI thanks to `deno.lock` being updated.
This commit is contained in: