@@ -258,8 +258,19 @@ describe("wrangler", () => {
258258 const requests = mockCreateRequest ( "testQueue" ) ;
259259 await runWrangler ( "queues create testQueue" ) ;
260260 expect ( std . out ) . toMatchInlineSnapshot ( `
261- "Creating queue testQueue.
262- Created queue testQueue."
261+ "🌀 Creating queue 'testQueue'
262+ ✅ Created queue 'testQueue'
263+
264+ Configure your Worker to send messages to this queue:
265+
266+ [[queues.producers]]
267+ queue = \\"testQueue\\"
268+ binding = \\"testQueue\\"
269+
270+ Configure your Worker to consume messages from this queue:
271+
272+ [[queues.consumers]]
273+ queue = \\"testQueue\\""
263274 ` ) ;
264275 expect ( requests . count ) . toEqual ( 1 ) ;
265276 } ) ;
@@ -290,7 +301,7 @@ describe("wrangler", () => {
290301 runWrangler ( `queues create ${ queueName } ` )
291302 ) . rejects . toThrowError ( ) ;
292303 expect ( std . out ) . toMatchInlineSnapshot ( `
293- "Creating queue testQueue.
304+ "🌀 Creating queue ' testQueue'
294305 Queues is not currently enabled on this account. Go to https://dash.cloudflare.com/some-account-id/workers/queues to enable it.
295306
296307 [31mX [41;31m[[41;97mERROR[41;31m][0m [1mA request to the Cloudflare API (/accounts/some-account-id/queues) failed.[0m
@@ -308,8 +319,19 @@ describe("wrangler", () => {
308319 const requests = mockCreateRequest ( "testQueue" , { delivery_delay : 10 } ) ;
309320 await runWrangler ( "queues create testQueue --delivery-delay-secs=10" ) ;
310321 expect ( std . out ) . toMatchInlineSnapshot ( `
311- "Creating queue testQueue.
312- Created queue testQueue."
322+ "🌀 Creating queue 'testQueue'
323+ ✅ Created queue 'testQueue'
324+
325+ Configure your Worker to send messages to this queue:
326+
327+ [[queues.producers]]
328+ queue = \\"testQueue\\"
329+ binding = \\"testQueue\\"
330+
331+ Configure your Worker to consume messages from this queue:
332+
333+ [[queues.consumers]]
334+ queue = \\"testQueue\\""
313335 ` ) ;
314336 expect ( requests . count ) . toEqual ( 1 ) ;
315337 } ) ;
0 commit comments