@@ -8,7 +8,7 @@ const client = new Morphik({
88} ) ;
99
1010describe ( 'resource documents' , ( ) => {
11- // skipped: tests are disabled for the time being
11+ // Prism tests are disabled
1212 test . skip ( 'retrieve' , async ( ) => {
1313 const responsePromise = client . documents . retrieve ( 'document_id' ) ;
1414 const rawResponse = await responsePromise . asResponse ( ) ;
@@ -20,7 +20,7 @@ describe('resource documents', () => {
2020 expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
2121 } ) ;
2222
23- // skipped: tests are disabled for the time being
23+ // Prism tests are disabled
2424 test . skip ( 'list' , async ( ) => {
2525 const responsePromise = client . documents . list ( { } ) ;
2626 const rawResponse = await responsePromise . asResponse ( ) ;
@@ -32,7 +32,7 @@ describe('resource documents', () => {
3232 expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
3333 } ) ;
3434
35- // skipped: tests are disabled for the time being
35+ // Prism tests are disabled
3636 test . skip ( 'delete' , async ( ) => {
3737 const responsePromise = client . documents . delete ( 'document_id' ) ;
3838 const rawResponse = await responsePromise . asResponse ( ) ;
@@ -44,7 +44,7 @@ describe('resource documents', () => {
4444 expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
4545 } ) ;
4646
47- // skipped: tests are disabled for the time being
47+ // Prism tests are disabled
4848 test . skip ( 'downloadFile' , async ( ) => {
4949 const responsePromise = client . documents . downloadFile ( 'document_id' ) ;
5050 const rawResponse = await responsePromise . asResponse ( ) ;
@@ -56,7 +56,7 @@ describe('resource documents', () => {
5656 expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
5757 } ) ;
5858
59- // skipped: tests are disabled for the time being
59+ // Prism tests are disabled
6060 test . skip ( 'getByFilename' , async ( ) => {
6161 const responsePromise = client . documents . getByFilename ( 'filename' ) ;
6262 const rawResponse = await responsePromise . asResponse ( ) ;
@@ -68,7 +68,7 @@ describe('resource documents', () => {
6868 expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
6969 } ) ;
7070
71- // skipped: tests are disabled for the time being
71+ // Prism tests are disabled
7272 test . skip ( 'getByFilename: request options and params are passed correctly' , async ( ) => {
7373 // ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
7474 await expect (
@@ -80,7 +80,7 @@ describe('resource documents', () => {
8080 ) . rejects . toThrow ( Morphik . NotFoundError ) ;
8181 } ) ;
8282
83- // skipped: tests are disabled for the time being
83+ // Prism tests are disabled
8484 test . skip ( 'getDownloadURL' , async ( ) => {
8585 const responsePromise = client . documents . getDownloadURL ( 'document_id' ) ;
8686 const rawResponse = await responsePromise . asResponse ( ) ;
@@ -92,15 +92,15 @@ describe('resource documents', () => {
9292 expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
9393 } ) ;
9494
95- // skipped: tests are disabled for the time being
95+ // Prism tests are disabled
9696 test . skip ( 'getDownloadURL: request options and params are passed correctly' , async ( ) => {
9797 // ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
9898 await expect (
9999 client . documents . getDownloadURL ( 'document_id' , { expires_in : 0 } , { path : '/_stainless_unknown_path' } ) ,
100100 ) . rejects . toThrow ( Morphik . NotFoundError ) ;
101101 } ) ;
102102
103- // skipped: tests are disabled for the time being
103+ // Prism tests are disabled
104104 test . skip ( 'getStatus' , async ( ) => {
105105 const responsePromise = client . documents . getStatus ( 'document_id' ) ;
106106 const rawResponse = await responsePromise . asResponse ( ) ;
@@ -112,7 +112,7 @@ describe('resource documents', () => {
112112 expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
113113 } ) ;
114114
115- // skipped: tests are disabled for the time being
115+ // Prism tests are disabled
116116 test . skip ( 'updateFile: only required params' , async ( ) => {
117117 const responsePromise = client . documents . updateFile ( 'document_id' , {
118118 file : await toFile ( Buffer . from ( '# my file contents' ) , 'README.md' ) ,
@@ -126,7 +126,7 @@ describe('resource documents', () => {
126126 expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
127127 } ) ;
128128
129- // skipped: tests are disabled for the time being
129+ // Prism tests are disabled
130130 test . skip ( 'updateFile: required and optional params' , async ( ) => {
131131 const response = await client . documents . updateFile ( 'document_id' , {
132132 file : await toFile ( Buffer . from ( '# my file contents' ) , 'README.md' ) ,
@@ -137,7 +137,7 @@ describe('resource documents', () => {
137137 } ) ;
138138 } ) ;
139139
140- // skipped: tests are disabled for the time being
140+ // Prism tests are disabled
141141 test . skip ( 'updateMetadata: only required params' , async ( ) => {
142142 const responsePromise = client . documents . updateMetadata ( 'document_id' , { body : { foo : 'bar' } } ) ;
143143 const rawResponse = await responsePromise . asResponse ( ) ;
@@ -149,12 +149,12 @@ describe('resource documents', () => {
149149 expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
150150 } ) ;
151151
152- // skipped: tests are disabled for the time being
152+ // Prism tests are disabled
153153 test . skip ( 'updateMetadata: required and optional params' , async ( ) => {
154154 const response = await client . documents . updateMetadata ( 'document_id' , { body : { foo : 'bar' } } ) ;
155155 } ) ;
156156
157- // skipped: tests are disabled for the time being
157+ // Prism tests are disabled
158158 test . skip ( 'updateText: only required params' , async ( ) => {
159159 const responsePromise = client . documents . updateText ( 'document_id' , { content : 'content' } ) ;
160160 const rawResponse = await responsePromise . asResponse ( ) ;
@@ -166,7 +166,7 @@ describe('resource documents', () => {
166166 expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
167167 } ) ;
168168
169- // skipped: tests are disabled for the time being
169+ // Prism tests are disabled
170170 test . skip ( 'updateText: required and optional params' , async ( ) => {
171171 const response = await client . documents . updateText ( 'document_id' , {
172172 content : 'content' ,
0 commit comments