File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 30
30
"benchify" : " file:../../dist/" ,
31
31
"@modelcontextprotocol/sdk" : " ^1.11.5" ,
32
32
"express" : " ^5.1.0" ,
33
- "jq-web" : " https://github.com/stainless-api/jq-web/releases/download/v0.8.2 /jq-web.tar.gz" ,
33
+ "jq-web" : " https://github.com/stainless-api/jq-web/releases/download/v0.8.6 /jq-web.tar.gz" ,
34
34
"yargs" : " ^17.7.2" ,
35
35
"@cloudflare/cabidela" : " ^0.2.4" ,
36
36
"zod" : " ^3.25.20" ,
Original file line number Diff line number Diff line change 1
1
// @ts -nocheck
2
2
import initJq from 'jq-web' ;
3
3
4
- export async function maybeFilter ( args : Record < string , unknown > | undefined , response : any ) : Promise < any > {
5
- const jqFilter = args ?. [ 'jq_filter' ] ;
4
+ export async function maybeFilter ( jqFilter : unknown | undefined , response : any ) : Promise < any > {
6
5
if ( jqFilter && typeof jqFilter === 'string' ) {
7
6
return await jq ( response , jqFilter ) ;
8
7
} else {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const client = new Benchify({
8
8
} ) ;
9
9
10
10
describe ( 'resource fixer' , ( ) => {
11
- // skipped: tests are disabled for the time being
11
+ // Prism tests are disabled
12
12
test . skip ( 'run: only required params' , async ( ) => {
13
13
const responsePromise = client . fixer . run ( { files : [ { contents : 'contents' , path : 'x' } ] } ) ;
14
14
const rawResponse = await responsePromise . asResponse ( ) ;
@@ -20,7 +20,7 @@ describe('resource fixer', () => {
20
20
expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
21
21
} ) ;
22
22
23
- // skipped: tests are disabled for the time being
23
+ // Prism tests are disabled
24
24
test . skip ( 'run: required and optional params' , async ( ) => {
25
25
const response = await client . fixer . run ( {
26
26
files : [ { contents : 'contents' , path : 'x' } ] ,
You can’t perform that action at this time.
0 commit comments