@@ -38,8 +38,8 @@ const MINIMAL_SCHEDULE_TRIGGER: ManifestEndpoint["scheduleTrigger"] = {
3838 minBackoffSeconds : options . RESET_VALUE ,
3939 maxBackoffSeconds : options . RESET_VALUE ,
4040 maxDoublings : options . RESET_VALUE ,
41- attemptDeadline : options . RESET_VALUE ,
4241 } ,
42+ attemptDeadline : options . RESET_VALUE ,
4343} ;
4444
4545describe ( "schedule" , ( ) => {
@@ -74,8 +74,8 @@ describe("schedule", () => {
7474 minBackoffSeconds : 2 ,
7575 maxBackoffSeconds : 3 ,
7676 maxDoublings : 4 ,
77- attemptDeadline : "120s" ,
7877 } ,
78+ attemptDeadline : "120s" ,
7979 opts : {
8080 ...options ,
8181 memory : "128MiB" ,
@@ -115,7 +115,7 @@ describe("schedule", () => {
115115 ( ) => undefined
116116 ) ;
117117
118- expect ( schfn . __endpoint . scheduleTrigger ?. retryConfig ?. attemptDeadline ) . to . equal (
118+ expect ( schfn . __endpoint . scheduleTrigger ?. attemptDeadline ) . to . equal (
119119 "320s"
120120 ) ;
121121 } ) ;
@@ -151,8 +151,8 @@ describe("schedule", () => {
151151 minBackoffSeconds : 11 ,
152152 maxBackoffSeconds : 12 ,
153153 maxDoublings : 2 ,
154- attemptDeadline : "120s" ,
155154 } ,
155+ attemptDeadline : "120s" ,
156156 } ,
157157 } ) ;
158158 expect ( schfn . __requiredAPIs ) . to . deep . eq ( [
@@ -178,13 +178,13 @@ describe("schedule", () => {
178178 scheduleTrigger : {
179179 schedule : "* * * * *" ,
180180 timeZone : undefined ,
181+ attemptDeadline : undefined ,
181182 retryConfig : {
182183 retryCount : undefined ,
183184 maxRetrySeconds : undefined ,
184185 minBackoffSeconds : undefined ,
185186 maxBackoffSeconds : undefined ,
186187 maxDoublings : undefined ,
187- attemptDeadline : undefined ,
188188 } ,
189189 } ,
190190 } ) ;
0 commit comments