@@ -9,8 +9,8 @@ const client = new Gitpod({
9
9
10
10
describe ( 'resource editors' , ( ) => {
11
11
// skipped: tests are disabled for the time being
12
- test . skip ( 'retrieve' , async ( ) => {
13
- const responsePromise = client . editors . retrieve ( { } ) ;
12
+ test . skip ( 'retrieve: only required params ' , async ( ) => {
13
+ const responsePromise = client . editors . retrieve ( { id : 'id' } ) ;
14
14
const rawResponse = await responsePromise . asResponse ( ) ;
15
15
expect ( rawResponse ) . toBeInstanceOf ( Response ) ;
16
16
const response = await responsePromise ;
@@ -20,6 +20,11 @@ describe('resource editors', () => {
20
20
expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
21
21
} ) ;
22
22
23
+ // skipped: tests are disabled for the time being
24
+ test . skip ( 'retrieve: required and optional params' , async ( ) => {
25
+ const response = await client . editors . retrieve ( { id : 'id' } ) ;
26
+ } ) ;
27
+
23
28
// skipped: tests are disabled for the time being
24
29
test . skip ( 'list' , async ( ) => {
25
30
const responsePromise = client . editors . list ( { } ) ;
@@ -33,8 +38,12 @@ describe('resource editors', () => {
33
38
} ) ;
34
39
35
40
// skipped: tests are disabled for the time being
36
- test . skip ( 'resolveURL' , async ( ) => {
37
- const responsePromise = client . editors . resolveURL ( { } ) ;
41
+ test . skip ( 'resolveURL: only required params' , async ( ) => {
42
+ const responsePromise = client . editors . resolveURL ( {
43
+ editorId : '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' ,
44
+ environmentId : '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' ,
45
+ organizationId : '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' ,
46
+ } ) ;
38
47
const rawResponse = await responsePromise . asResponse ( ) ;
39
48
expect ( rawResponse ) . toBeInstanceOf ( Response ) ;
40
49
const response = await responsePromise ;
@@ -43,4 +52,13 @@ describe('resource editors', () => {
43
52
expect ( dataAndResponse . data ) . toBe ( response ) ;
44
53
expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
45
54
} ) ;
55
+
56
+ // skipped: tests are disabled for the time being
57
+ test . skip ( 'resolveURL: required and optional params' , async ( ) => {
58
+ const response = await client . editors . resolveURL ( {
59
+ editorId : '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' ,
60
+ environmentId : '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' ,
61
+ organizationId : '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' ,
62
+ } ) ;
63
+ } ) ;
46
64
} ) ;
0 commit comments