Skip to content

Commit 7a62bec

Browse files
committed
style: format skill tests
1 parent e895840 commit 7a62bec

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

packages/clawdhub/src/skills.test.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ describe('skills', () => {
9393
await writeFile(join(workdir, 'SKILL.md'), 'hi', 'utf8')
9494
await writeFile(join(workdir, 'config.env'), 'TOKEN=demo', 'utf8')
9595
const files = await listTextFiles(workdir)
96-
expect(files.find((file) => file.relPath === 'config.env')?.contentType).toBe(
97-
'text/plain',
98-
)
96+
expect(files.find((file) => file.relPath === 'config.env')?.contentType).toBe('text/plain')
9997
})
10098

10199
it('hashes skill files deterministically', async () => {
@@ -133,9 +131,7 @@ describe('skills', () => {
133131
'image.png': strToU8('nope'),
134132
})
135133
const { files } = hashSkillZip(new Uint8Array(zip))
136-
expect(files).toEqual([
137-
{ path: 'SKILL.md', sha256: sha256Hex(strToU8('hello')), size: 5 },
138-
])
134+
expect(files).toEqual([{ path: 'SKILL.md', sha256: sha256Hex(strToU8('hello')), size: 5 }])
139135
})
140136

141137
it('builds fingerprints from valid entries only', () => {

0 commit comments

Comments
 (0)