mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
test(plugins): canonicalize native resolver fixtures (#118174)
This commit is contained in:
committed by
GitHub
parent
8729d541a9
commit
57809f4474
@@ -112,7 +112,7 @@ function createInternalCoreAliasFixture(prefix: string): {
|
||||
root: string;
|
||||
sourcePath: string;
|
||||
} {
|
||||
const root = fs.mkdtempSync(path.join(os.tmpdir(), prefix));
|
||||
const root = fs.realpathSync(fs.mkdtempSync(path.join(os.tmpdir(), prefix)));
|
||||
const { loaderModulePath } = writeFakeOpenClawPackage(root);
|
||||
const sourcePath = writeInternalCorePackageSource(root, "markdown-core", "code-spans.ts");
|
||||
const coreSourceParent = path.join(root, "src", "host-probe.js");
|
||||
|
||||
Reference in New Issue
Block a user