@@ -169,6 +169,8 @@ describe("Tree-sitter Service", () => {
169169 "/test/path/main.rs" ,
170170 "/test/path/program.cpp" ,
171171 "/test/path/code.go" ,
172+ "/test/path/app.kt" ,
173+ "/test/path/script.kts" ,
172174 ]
173175
174176 ; ( listFiles as jest . Mock ) . mockResolvedValue ( [ mockFiles , new Set ( ) ] )
@@ -197,6 +199,8 @@ describe("Tree-sitter Service", () => {
197199 rs : { parser : mockParser , query : mockQuery } ,
198200 cpp : { parser : mockParser , query : mockQuery } ,
199201 go : { parser : mockParser , query : mockQuery } ,
202+ kt : { parser : mockParser , query : mockQuery } ,
203+ kts : { parser : mockParser , query : mockQuery } ,
200204 } )
201205 ; ( fs . readFile as jest . Mock ) . mockResolvedValue ( "function test() {}" )
202206
@@ -207,6 +211,8 @@ describe("Tree-sitter Service", () => {
207211 expect ( result ) . toContain ( "main.rs" )
208212 expect ( result ) . toContain ( "program.cpp" )
209213 expect ( result ) . toContain ( "code.go" )
214+ expect ( result ) . toContain ( "app.kt" )
215+ expect ( result ) . toContain ( "script.kts" )
210216 } )
211217
212218 it ( "should normalize paths in output" , async ( ) => {
0 commit comments