File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -16,22 +16,18 @@ describe('TasksResource', () => {
1616 name : 'upload-test'
1717 } ) ;
1818
19- console . log ( 'task' , task ) ;
2019 const stream = fs . createReadStream (
2120 __dirname + '/../integration/files/input.png'
2221 ) ;
2322
24- const res = await cloudConvert . tasks . upload ( task , stream ) ;
25- console . log ( 'upload' , res ) ;
23+ await cloudConvert . tasks . upload ( task , stream ) ;
2624
2725 task = await cloudConvert . tasks . wait ( task . id ) ;
28- console . log ( 'task' , task ) ;
2926
3027 assert . equal ( task . status , 'finished' ) ;
3128 assert . equal ( task . result . files [ 0 ] . filename , 'input.png' ) ;
3229
33- const del = await cloudConvert . tasks . delete ( task . id ) ;
34- console . log ( del ) ;
30+ await cloudConvert . tasks . delete ( task . id ) ;
3531 } ) . timeout ( 30000 ) ;
3632 } ) ;
3733} ) ;
You can’t perform that action at this time.
0 commit comments