File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ async function generateTempFile(event: IEvent) {
125125 event . outputExt ||= ext ;
126126
127127 const {
128- timeout = 15000 ,
128+ timeout,
129129 mobile = true ,
130130 height = mobile ? 800 : 900 ,
131131 width = mobile ? 400 : 1024 ,
@@ -142,7 +142,7 @@ async function generateTempFile(event: IEvent) {
142142 event . pdf = pdf ;
143143 event . html = html ;
144144 event . stopTest = stopTest ;
145- event . timeout = timeout ;
145+ event . timeout = timeout ?? 15000 ;
146146
147147 if ( event . output ) {
148148 return ;
Original file line number Diff line number Diff line change @@ -119,15 +119,10 @@ export default abstract class Command {
119119 const {
120120 url,
121121 content,
122- timeout = 15000 ,
123122 mobile = true ,
124123 height = mobile ? 800 : 900 ,
125124 width = mobile ? 400 : 1024 ,
126125 deviceScaleFactor = mobile ? 2 : 1 ,
127- pdf = null ,
128- html = null ,
129- stopTest = "window.pageReady" ,
130- output,
131126 video,
132127 } = event ;
133128
You can’t perform that action at this time.
0 commit comments