@@ -17,7 +17,11 @@ describe('resource scenarios', () => {
1717 scoring_function_parameters : [
1818 {
1919 name : 'name' ,
20- scorer : { pattern : 'pattern' , search_directory : 'search_directory' , type : 'ast_grep_scorer' } ,
20+ scorer : {
21+ pattern : 'pattern' ,
22+ search_directory : 'search_directory' ,
23+ type : 'ast_grep_scorer' ,
24+ } ,
2125 weight : 0 ,
2226 } ,
2327 ] ,
@@ -34,7 +38,10 @@ describe('resource scenarios', () => {
3438
3539 test ( 'create: required and optional params' , async ( ) => {
3640 const response = await client . scenarios . create ( {
37- input_context : { problem_statement : 'problem_statement' , additional_context : { } } ,
41+ input_context : {
42+ problem_statement : 'problem_statement' ,
43+ additional_context : { } ,
44+ } ,
3845 name : 'name' ,
3946 scoring_contract : {
4047 scoring_function_parameters : [
@@ -136,7 +143,10 @@ describe('resource scenarios', () => {
136143 snapshot_id : 'snapshot_id' ,
137144 working_directory : 'working_directory' ,
138145 } ,
139- input_context : { additional_context : { } , problem_statement : 'problem_statement' } ,
146+ input_context : {
147+ additional_context : { } ,
148+ problem_statement : 'problem_statement' ,
149+ } ,
140150 metadata : { foo : 'string' } ,
141151 name : 'name' ,
142152 reference_output : 'reference_output' ,
@@ -219,7 +229,11 @@ describe('resource scenarios', () => {
219229 // ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
220230 await expect (
221231 client . scenarios . listPublic (
222- { limit : 0 , name : 'name' , starting_after : 'starting_after' } ,
232+ {
233+ limit : 0 ,
234+ name : 'name' ,
235+ starting_after : 'starting_after' ,
236+ } ,
223237 { path : '/_stainless_unknown_path' } ,
224238 ) ,
225239 ) . rejects . toThrow ( Runloop . NotFoundError ) ;
@@ -257,7 +271,13 @@ describe('resource scenarios', () => {
257271 resource_size_request : 'X_SMALL' ,
258272 user_parameters : { uid : 0 , username : 'username' } ,
259273 } ,
260- mounts : [ { object_id : 'object_id' , object_path : 'object_path' , type : 'object_mount' } ] ,
274+ mounts : [
275+ {
276+ object_id : 'object_id' ,
277+ object_path : 'object_path' ,
278+ type : 'object_mount' ,
279+ } ,
280+ ] ,
261281 purpose : 'purpose' ,
262282 secrets : { foo : 'string' } ,
263283 } ,
0 commit comments