@@ -247,7 +247,7 @@ describe.each([
247247 flags : "" ,
248248 async beforeAll ( ) { } ,
249249 async afterAll ( ) { } ,
250- expectInitialStdout : ( output : string ) => {
250+ expectAssetsOnlyStdout : ( output : string ) => {
251251 expect ( output ) . toEqual ( `🌀 Building list of assets...
252252🌀 Starting asset upload...
253253🌀 Found 3 new or modified static assets to upload. Proceeding with upload...
@@ -265,7 +265,7 @@ Deployed tmp-e2e-worker-00000000-0000-0000-0000-000000000000 triggers (TIMINGS)
265265 https://tmp-e2e-worker-00000000-0000-0000-0000-000000000000.SUBDOMAIN.workers.dev
266266Current Version ID: 00000000-0000-0000-0000-000000000000` ) ;
267267 } ,
268- expectSubsequentStdout : ( output : string ) => {
268+ expectWithWorkerStdout : ( output : string ) => {
269269 expect ( output ) . toContain ( `🌀 Building list of assets...
270270🌀 Starting asset upload...` ) ;
271271 // Unfortunately the server-side deduping logic isn't always 100% accurate, and sometimes a file is re-uploaded
@@ -321,7 +321,7 @@ Current Version ID: 00000000-0000-0000-0000-000000000000`);
321321 `wrangler dispatch-namespace delete ${ dispatchNamespaceName } `
322322 ) ;
323323 } ,
324- expectInitialStdout : ( output : string ) => {
324+ expectAssetsOnlyStdout : ( output : string ) => {
325325 expect ( output ) . toEqual ( `🌀 Building list of assets...
326326🌀 Starting asset upload...
327327🌀 Found 3 new or modified static assets to upload. Proceeding with upload...
@@ -338,7 +338,7 @@ Uploaded tmp-e2e-worker-00000000-0000-0000-0000-000000000000 (TIMINGS)
338338 Dispatch Namespace: tmp-e2e-dispatch-00000000-0000-0000-0000-000000000000
339339Current Version ID: 00000000-0000-0000-0000-000000000000` ) ;
340340 } ,
341- expectSubsequentStdout : ( output : string ) => {
341+ expectWithWorkerStdout : ( output : string ) => {
342342 expect ( output ) . toContain ( `🌀 Building list of assets...
343343🌀 Starting asset upload...` ) ;
344344 // Unfortunately the server-side deduping logic isn't always 100% accurate, and sometimes a file is re-uploaded
@@ -350,6 +350,7 @@ Current Version ID: 00000000-0000-0000-0000-000000000000`);
350350 "No files to upload." ,
351351 ] . some ( ( s ) => output . includes ( s ) )
352352 ) . toBeTruthy ( ) ;
353+ expect ( output ) . toContain ( "- Binding: ASSETS" ) ;
353354 } ,
354355 } ,
355356] ) ( "Workers + Assets deployment: $name" , { timeout : TIMEOUT } , ( testcase ) => {
@@ -373,7 +374,7 @@ Current Version ID: 00000000-0000-0000-0000-000000000000`);
373374 } ) ;
374375
375376 const output = await helper . run ( `wrangler deploy ${ testcase . flags } ` ) ;
376- testcase . expectInitialStdout ( normalize ( output . stdout ) ) ;
377+ testcase . expectAssetsOnlyStdout ( normalize ( output . stdout ) ) ;
377378 if ( testcase . url ) {
378379 deployedUrl = testcase . url ;
379380 } else {
@@ -444,7 +445,7 @@ Current Version ID: 00000000-0000-0000-0000-000000000000`);
444445 } ) ;
445446 const output = await helper . run ( `wrangler deploy ${ testcase . flags } ` ) ;
446447 // expect only no asset files to be uploaded as no new asset files have been added
447- testcase . expectSubsequentStdout ( normalize ( output . stdout ) ) ;
448+ testcase . expectWithWorkerStdout ( normalize ( output . stdout ) ) ;
448449 if ( ! deployedUrl ) {
449450 const match = output . stdout . match (
450451 / (?< url > h t t p s : \/ \/ t m p - e 2 e - .+ ?\. .+ ?\. w o r k e r s \. d e v ) /
@@ -510,7 +511,7 @@ Current Version ID: 00000000-0000-0000-0000-000000000000`);
510511
511512 const output = await helper . run ( `wrangler deploy ${ testcase . flags } ` ) ;
512513 // expect only no asset files to be uploaded as no new asset files have been added
513- testcase . expectSubsequentStdout ( normalize ( output . stdout ) ) ;
514+ testcase . expectWithWorkerStdout ( normalize ( output . stdout ) ) ;
514515 if ( ! deployedUrl ) {
515516 const match = output . stdout . match (
516517 / (?< url > h t t p s : \/ \/ t m p - e 2 e - .+ ?\. .+ ?\. w o r k e r s \. d e v ) /
0 commit comments