diff --git a/packages/api/tests/agent.test.ts b/packages/api/tests/agent.test.ts index 807046deb00..45a7b84f02a 100644 --- a/packages/api/tests/agent.test.ts +++ b/packages/api/tests/agent.test.ts @@ -343,7 +343,7 @@ describe('agent', () => { expect(events.length).toEqual(2) expect(events[0]).toEqual('create-failed') - expect(events[1]).toEqual('create-failed') + expect(events[1]).toEqual('network-error') expect(sessions.length).toEqual(2) expect(typeof sessions[0]).toEqual('undefined') expect(typeof sessions[1]).toEqual('undefined')