Skip to content

Commit daad234

Browse files
committed
Update tests
1 parent 151eb6a commit daad234

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/browser/test/unit/transports/base.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ describe('BaseTransport', () => {
5353

5454
expect(sendBeaconSpy).toHaveBeenCalledWith(
5555
envelopeEndpoint,
56-
`{"type":"client_report"}\n{"timestamp":1337,"discarded_events":${JSON.stringify(outcomes)}}`,
56+
`{}\n{"type":"client_report"}\n{"timestamp":1337,"discarded_events":${JSON.stringify(outcomes)}}`,
5757
);
5858
});
5959

@@ -89,7 +89,7 @@ describe('BaseTransport', () => {
8989

9090
expect(sendBeaconSpy).toHaveBeenCalledWith(
9191
envelopeEndpoint,
92-
`{"type":"client_report"}\n{"timestamp":1337,"discarded_events":${JSON.stringify(outcomes)}}`,
92+
`{}\n{"type":"client_report"}\n{"timestamp":1337,"discarded_events":${JSON.stringify(outcomes)}}`,
9393
);
9494
});
9595
});

0 commit comments

Comments
 (0)