mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-10 08:05:14 +02:00
test: fix wiki skill ordering expectations
This commit is contained in:
parent
7ca96ce316
commit
71d07e048c
2 changed files with 2 additions and 2 deletions
|
|
@ -77,7 +77,7 @@ describe('memory runtime assets', () => {
|
|||
const registry = new SkillsRegistryService({ skillsDir });
|
||||
const skills = await registry.listSkills([...DEFAULT_SKILL_NAMES], 'memory_agent');
|
||||
|
||||
expect(skills.map((skill) => skill.name).sort()).toEqual(['wiki_capture', 'sl', 'sl_capture']);
|
||||
expect(skills.map((skill) => skill.name).sort()).toEqual(['sl', 'sl_capture', 'wiki_capture']);
|
||||
|
||||
for (const skill of skills) {
|
||||
const body = await readFile(join(skill.path, 'SKILL.md'), 'utf-8');
|
||||
|
|
|
|||
|
|
@ -157,7 +157,7 @@ describe('SkillsRegistryService', () => {
|
|||
|
||||
it('memory_agent caller sees memory-only and open skills', async () => {
|
||||
const skills = await service.listSkills('memory_agent');
|
||||
expect(skills.map((skill) => skill.name).sort()).toEqual(['wiki_capture', 'sl', 'sl_capture']);
|
||||
expect(skills.map((skill) => skill.name).sort()).toEqual(['sl', 'sl_capture', 'wiki_capture']);
|
||||
});
|
||||
|
||||
it('listSkills with names and caller intersects both filters', async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue