@@ -10,7 +10,7 @@ const client = new Gitpod({
1010describe ( 'resource pats' , ( ) => {
1111 // skipped: tests are disabled for the time being
1212 test . skip ( 'list' , async ( ) => {
13- const responsePromise = client . users . pats . list ( ) ;
13+ const responsePromise = client . users . pats . list ( { } ) ;
1414 const rawResponse = await responsePromise . asResponse ( ) ;
1515 expect ( rawResponse ) . toBeInstanceOf ( Response ) ;
1616 const response = await responsePromise ;
@@ -20,22 +20,6 @@ describe('resource pats', () => {
2020 expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
2121 } ) ;
2222
23- // skipped: tests are disabled for the time being
24- test . skip ( 'list: request options and params are passed correctly' , async ( ) => {
25- // ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
26- await expect (
27- client . users . pats . list (
28- {
29- token : 'token' ,
30- pageSize : 0 ,
31- filter : { userIds : [ '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' ] } ,
32- pagination : { token : 'token' , pageSize : 100 } ,
33- } ,
34- { path : '/_stainless_unknown_path' } ,
35- ) ,
36- ) . rejects . toThrow ( Gitpod . NotFoundError ) ;
37- } ) ;
38-
3923 // skipped: tests are disabled for the time being
4024 test . skip ( 'delete' , async ( ) => {
4125 const responsePromise = client . users . pats . delete ( { } ) ;
0 commit comments