@@ -8,7 +8,7 @@ const client = new BrowserUse({
8
8
} ) ;
9
9
10
10
describe ( 'resource tasks' , ( ) => {
11
- // skipped: tests are disabled for the time being
11
+ // Prism tests are disabled
12
12
test . skip ( 'create: only required params' , async ( ) => {
13
13
const responsePromise = client . tasks . create ( { task : 'x' } ) ;
14
14
const rawResponse = await responsePromise . asResponse ( ) ;
@@ -20,7 +20,7 @@ describe('resource tasks', () => {
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 ( 'create: required and optional params' , async ( ) => {
25
25
const response = await client . tasks . create ( {
26
26
task : 'x' ,
@@ -37,7 +37,7 @@ describe('resource tasks', () => {
37
37
} ) ;
38
38
} ) ;
39
39
40
- // skipped: tests are disabled for the time being
40
+ // Prism tests are disabled
41
41
test . skip ( 'retrieve' , async ( ) => {
42
42
const responsePromise = client . tasks . retrieve ( '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' ) ;
43
43
const rawResponse = await responsePromise . asResponse ( ) ;
@@ -49,7 +49,7 @@ describe('resource tasks', () => {
49
49
expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
50
50
} ) ;
51
51
52
- // skipped: tests are disabled for the time being
52
+ // Prism tests are disabled
53
53
test . skip ( 'retrieve: request options and params are passed correctly' , async ( ) => {
54
54
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
55
55
await expect (
@@ -61,7 +61,7 @@ describe('resource tasks', () => {
61
61
) . rejects . toThrow ( BrowserUse . NotFoundError ) ;
62
62
} ) ;
63
63
64
- // skipped: tests are disabled for the time being
64
+ // Prism tests are disabled
65
65
test . skip ( 'update: only required params' , async ( ) => {
66
66
const responsePromise = client . tasks . update ( '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' , { action : 'stop' } ) ;
67
67
const rawResponse = await responsePromise . asResponse ( ) ;
@@ -73,12 +73,12 @@ describe('resource tasks', () => {
73
73
expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
74
74
} ) ;
75
75
76
- // skipped: tests are disabled for the time being
76
+ // Prism tests are disabled
77
77
test . skip ( 'update: required and optional params' , async ( ) => {
78
78
const response = await client . tasks . update ( '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' , { action : 'stop' } ) ;
79
79
} ) ;
80
80
81
- // skipped: tests are disabled for the time being
81
+ // Prism tests are disabled
82
82
test . skip ( 'list' , async ( ) => {
83
83
const responsePromise = client . tasks . list ( ) ;
84
84
const rawResponse = await responsePromise . asResponse ( ) ;
@@ -90,7 +90,7 @@ describe('resource tasks', () => {
90
90
expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
91
91
} ) ;
92
92
93
- // skipped: tests are disabled for the time being
93
+ // Prism tests are disabled
94
94
test . skip ( 'list: request options and params are passed correctly' , async ( ) => {
95
95
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
96
96
await expect (
@@ -107,7 +107,7 @@ describe('resource tasks', () => {
107
107
) . rejects . toThrow ( BrowserUse . NotFoundError ) ;
108
108
} ) ;
109
109
110
- // skipped: tests are disabled for the time being
110
+ // Prism tests are disabled
111
111
test . skip ( 'retrieveLogs' , async ( ) => {
112
112
const responsePromise = client . tasks . retrieveLogs ( '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' ) ;
113
113
const rawResponse = await responsePromise . asResponse ( ) ;
@@ -119,7 +119,7 @@ describe('resource tasks', () => {
119
119
expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
120
120
} ) ;
121
121
122
- // skipped: tests are disabled for the time being
122
+ // Prism tests are disabled
123
123
test . skip ( 'retrieveOutputFile: only required params' , async ( ) => {
124
124
const responsePromise = client . tasks . retrieveOutputFile ( 'file_name' , {
125
125
task_id : '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' ,
@@ -133,7 +133,7 @@ describe('resource tasks', () => {
133
133
expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
134
134
} ) ;
135
135
136
- // skipped: tests are disabled for the time being
136
+ // Prism tests are disabled
137
137
test . skip ( 'retrieveOutputFile: required and optional params' , async ( ) => {
138
138
const response = await client . tasks . retrieveOutputFile ( 'file_name' , {
139
139
task_id : '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' ,
0 commit comments