File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff 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' , ( ) => {
You can’t perform that action at this time.
0 commit comments