runnables.scm

 1; Add support for (node:test, bun:test and Jest) runnable
 2; Function expression that has `it`, `test` or `describe` as the function name
 3(
 4    (call_expression
 5        function: (_) @_name
 6        (#any-of? @_name "it" "test" "describe")
 7        arguments: (
 8            arguments . (string
 9                (string_fragment) @run
10            )
11        )
12    ) @_ts-test
13    (#set! tag ts-test)
14)