@@ -31,7 +31,7 @@ test('RPC method which throws an exception to be logged to sentry', async ({ bas
3131test ( "Request processed by DurableObject's fetch is recorded" , async ( { baseURL } ) => {
3232 console . log ( 'xx Request processed by DurableObject' ) ;
3333 const eventWaiter = waitForError ( 'cloudflare-workers' , event => {
34- return event . exception ?. values ?. [ 0 ] ?. mechanism ?. type === 'cloudflare_durableobject ' ;
34+ return event . exception ?. values ?. [ 0 ] ?. mechanism ?. type === 'auto.faas.cloudflare.durable_object ' ;
3535 } ) ;
3636 const response = await fetch ( `${ baseURL } /pass-to-object/throwException` ) ;
3737 expect ( response . status ) . toBe ( 500 ) ;
@@ -41,7 +41,7 @@ test("Request processed by DurableObject's fetch is recorded", async ({ baseURL
4141
4242test ( 'Websocket.webSocketMessage' , async ( { baseURL } ) => {
4343 const eventWaiter = waitForError ( 'cloudflare-workers' , event => {
44- return event . exception ?. values ?. [ 0 ] ?. mechanism ?. type === 'cloudflare_durableobject ' ;
44+ return event . exception ?. values ?. [ 0 ] ?. mechanism ?. type === 'auto.faas.cloudflare.durable_object_websocket ' ;
4545 } ) ;
4646 const url = new URL ( '/pass-to-object/ws' , baseURL ) ;
4747 url . protocol = url . protocol . replace ( 'http' , 'ws' ) ;
@@ -56,7 +56,7 @@ test('Websocket.webSocketMessage', async ({ baseURL }) => {
5656
5757test ( 'Websocket.webSocketClose' , async ( { baseURL } ) => {
5858 const eventWaiter = waitForError ( 'cloudflare-workers' , event => {
59- return event . exception ?. values ?. [ 0 ] ?. mechanism ?. type === 'auto.faas.cloudflare.durable_object ' ;
59+ return event . exception ?. values ?. [ 0 ] ?. mechanism ?. type === 'auto.faas.cloudflare.durable_object_websocket ' ;
6060 } ) ;
6161 const url = new URL ( '/pass-to-object/ws' , baseURL ) ;
6262 url . protocol = url . protocol . replace ( 'http' , 'ws' ) ;
0 commit comments