@@ -33,29 +33,26 @@ function expectSkillContent(stdout: string): void {
3333 expect ( stdout ) . not . toMatch ( / ^ U s a g e : / m)
3434}
3535
36- describe . each ( PACKAGE_MANAGERS ) (
37- 'intent load via installed bin (%s)' ,
38- ( pm ) => {
39- it ( 'prints the resolved skill content' , ( ) => {
40- const { root, cwd } = scaffoldProject ( {
41- pm,
42- structure : 'single' ,
43- dependency : '@test-intent/skills-leaf' ,
44- registryUrl : registry . url ,
45- } )
46- tempDirs . push ( root )
47-
48- const result = runLoad ( cwd , SKILL_USE )
49-
50- if ( result . exitCode !== 0 ) {
51- throw new Error (
52- `intent load failed\nstdout:\n${ result . stdout } \nstderr:\n${ result . stderr } ` ,
53- )
54- }
55- expectSkillContent ( result . stdout )
56- } , 60_000 )
57- } ,
58- )
36+ describe . each ( PACKAGE_MANAGERS ) ( 'intent load via installed bin (%s)' , ( pm ) => {
37+ it ( 'prints the resolved skill content' , ( ) => {
38+ const { root, cwd } = scaffoldProject ( {
39+ pm,
40+ structure : 'single' ,
41+ dependency : '@test-intent/skills-leaf' ,
42+ registryUrl : registry . url ,
43+ } )
44+ tempDirs . push ( root )
45+
46+ const result = runLoad ( cwd , SKILL_USE )
47+
48+ if ( result . exitCode !== 0 ) {
49+ throw new Error (
50+ `intent load failed\nstdout:\n${ result . stdout } \nstderr:\n${ result . stderr } ` ,
51+ )
52+ }
53+ expectSkillContent ( result . stdout )
54+ } , 60_000 )
55+ } )
5956
6057describe ( 'intent load resolution variants' , ( ) => {
6158 it ( 'returns the resolved path with --path' , ( ) => {
@@ -74,9 +71,7 @@ describe('intent load resolution variants', () => {
7471 `intent load --path failed\nstdout:\n${ result . stdout } \nstderr:\n${ result . stderr } ` ,
7572 )
7673 }
77- expect ( result . stdout . trim ( ) ) . toMatch (
78- / s k i l l s [ / \\ ] c o r e [ / \\ ] S K I L L \. m d \s * $ / ,
79- )
74+ expect ( result . stdout . trim ( ) ) . toMatch ( / s k i l l s [ / \\ ] c o r e [ / \\ ] S K I L L \. m d \s * $ / )
8075 } , 60_000 )
8176
8277 it ( 'returns structured JSON with --json' , ( ) => {
0 commit comments