Skip to content

Commit 27958bb

Browse files
committed
fix: type skill origin in tests
1 parent 7a62bec commit 27958bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/clawdhub/src/skills.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { tmpdir } from 'node:os'
44
import { join } from 'node:path'
55
import { strToU8, zipSync } from 'fflate'
66
import { describe, expect, it } from 'vitest'
7+
import type { SkillOrigin } from './skills'
78
import {
89
buildSkillFingerprint,
910
extractZipToDir,
@@ -177,7 +178,7 @@ describe('skills', () => {
177178
)
178179
expect(await readSkillOrigin(workdir)).toBeNull()
179180

180-
const origin = {
181+
const origin: SkillOrigin = {
181182
version: 1,
182183
registry: 'https://example.com',
183184
slug: 'demo',

0 commit comments

Comments
 (0)