mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-03 05:12:15 +00:00
fix(matrix): package verification bootstrap runtime (#59249)
Merged via squash.
Prepared head SHA: df5891b663
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
This commit is contained in:
committed by
GitHub
parent
c87c8e66bf
commit
a204f790ce
@@ -19,6 +19,15 @@ describe("bundled plugin build entries", () => {
|
||||
});
|
||||
});
|
||||
|
||||
it("keeps the Matrix packaged runtime shim in bundled plugin build entries", () => {
|
||||
const entries = listBundledPluginBuildEntries();
|
||||
|
||||
expect(entries).toMatchObject({
|
||||
"extensions/matrix/plugin-entry.handlers.runtime":
|
||||
"extensions/matrix/plugin-entry.handlers.runtime.ts",
|
||||
});
|
||||
});
|
||||
|
||||
it("packs runtime core support packages without requiring plugin manifests", () => {
|
||||
const artifacts = listBundledPluginPackArtifacts();
|
||||
|
||||
@@ -32,4 +41,10 @@ describe("bundled plugin build entries", () => {
|
||||
expect(artifacts).toContain("dist/extensions/speech-core/runtime-api.js");
|
||||
expect(artifacts).not.toContain("dist/extensions/speech-core/openclaw.plugin.json");
|
||||
});
|
||||
|
||||
it("packs the Matrix packaged runtime shim", () => {
|
||||
const artifacts = listBundledPluginPackArtifacts();
|
||||
|
||||
expect(artifacts).toContain("dist/extensions/matrix/plugin-entry.handlers.runtime.js");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user