mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-27 09:21:35 +07:00
test(release): sync llama peer fixture
This commit is contained in:
@@ -225,7 +225,7 @@ describe("collectReleasePackageMetadataErrors", () => {
|
|||||||
license: "MIT",
|
license: "MIT",
|
||||||
repository: { url: "git+https://github.com/openclaw/openclaw.git" },
|
repository: { url: "git+https://github.com/openclaw/openclaw.git" },
|
||||||
bin: { openclaw: "openclaw.mjs" },
|
bin: { openclaw: "openclaw.mjs" },
|
||||||
peerDependencies: { "node-llama-cpp": "3.16.2" },
|
peerDependencies: { "node-llama-cpp": "3.18.1" },
|
||||||
peerDependenciesMeta: { "node-llama-cpp": { optional: true } },
|
peerDependenciesMeta: { "node-llama-cpp": { optional: true } },
|
||||||
}),
|
}),
|
||||||
).toEqual([]);
|
).toEqual([]);
|
||||||
@@ -239,7 +239,7 @@ describe("collectReleasePackageMetadataErrors", () => {
|
|||||||
license: "MIT",
|
license: "MIT",
|
||||||
repository: { url: "git+https://github.com/openclaw/openclaw.git" },
|
repository: { url: "git+https://github.com/openclaw/openclaw.git" },
|
||||||
bin: { openclaw: "openclaw.mjs" },
|
bin: { openclaw: "openclaw.mjs" },
|
||||||
peerDependencies: { "node-llama-cpp": "3.16.2" },
|
peerDependencies: { "node-llama-cpp": "3.18.1" },
|
||||||
}),
|
}),
|
||||||
).toContain('package.json peerDependenciesMeta["node-llama-cpp"].optional must be true.');
|
).toContain('package.json peerDependenciesMeta["node-llama-cpp"].optional must be true.');
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user