mirror of
https://github.com/iflytek/skillhub.git
synced 2026-10-15 04:18:20 +00:00
test(cli): prove shared target lock cleanup
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
This commit is contained in:
parent
b1c6f2c6b4
commit
90260c6019
1 changed files with 1 additions and 0 deletions
|
|
@ -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 () => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue