feat: add pluggable Excel analyst report guard
Memind CI / Test, build, and release guards (push) Has been cancelled
Memind CI / Test, build, and release guards (push) Has been cancelled
This commit is contained in:
@@ -28,6 +28,16 @@ test('buildSkillRuntimeCatalogSummary includes product-campaign-page manifest',
|
||||
assert.ok(product.triggerKeywords.includes('带货'));
|
||||
});
|
||||
|
||||
test('buildSkillRuntimeCatalogSummary includes Excel Analyst manifest for MemindAdm', () => {
|
||||
const catalog = buildSkillRuntimeCatalogSummary(h5Root);
|
||||
const excel = catalog.find((item) => item.name === 'excel-analyst');
|
||||
assert.ok(excel);
|
||||
assert.equal(excel.hasManifest, true);
|
||||
assert.equal(excel.version, '0.2.0');
|
||||
assert.ok(excel.triggerKeywords.includes('分析Excel'));
|
||||
assert.equal(excel.routerPromptKey, 'excel-analyst');
|
||||
});
|
||||
|
||||
test('buildAutoChatSkillPrefixOptions returns empty object when router is disabled', () => {
|
||||
assert.deepEqual(
|
||||
buildAutoChatSkillPrefixOptions({
|
||||
|
||||
Reference in New Issue
Block a user