test(cli): prove shared target lock cleanup

Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
This commit is contained in:
XiaoSeS 2026-09-01 17:41:13 +08:00
parent b1c6f2c6b4
commit 90260c6019

View file

@ -123,6 +123,7 @@ describe('removeLocalSkill', () => {
expect(removed.removed).toHaveLength(1)
expect(await exists(skillDir)).toBe(false)
expect((await store.read()).items).toEqual([])
expect(await exists(join(rootDir, '.demo.skillhub-install.lock'))).toBe(false)
})
test('throws on path traversal in installDir', async () => {