diff --git a/src/infra/outbound/outbound.test.ts b/src/infra/outbound/outbound.test.ts index f07aff99054..ea9afb231f3 100644 --- a/src/infra/outbound/outbound.test.ts +++ b/src/infra/outbound/outbound.test.ts @@ -485,14 +485,7 @@ describe("buildOutboundResultEnvelope", () => { }, ]); for (const testCase of cases) { - const input: Parameters[0] = - "payloads" in testCase.input - ? { - ...testCase.input, - payloads: testCase.input.payloads?.map((payload) => ({ ...payload })), - } - : testCase.input; - expect(buildOutboundResultEnvelope(input), testCase.name).toEqual(testCase.expected); + expect(buildOutboundResultEnvelope(testCase.input), testCase.name).toEqual(testCase.expected); } }); });