Skip to content

Commit

Permalink
switch to using route
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPrasad committed Jul 8, 2022
1 parent 718a42a commit cda2aae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/serverless/test/gcpfunction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe('GCPFunction', () => {
expect(Sentry.startTransaction).toBeCalledWith({
name: 'POST /path',
op: 'gcp.function.http',
metadata: { baggage: [{}, '', true], source: 'url' },
metadata: { baggage: [{}, '', true], source: 'route' },
});
// @ts-ignore see "Why @ts-ignore" note
expect(Sentry.fakeScope.setSpan).toBeCalledWith(Sentry.fakeTransaction);
Expand Down Expand Up @@ -153,7 +153,7 @@ describe('GCPFunction', () => {
'',
false,
],
source: 'url',
source: 'route',
},
}),
);
Expand All @@ -179,7 +179,7 @@ describe('GCPFunction', () => {
traceId: '12312012123120121231201212312012',
parentSpanId: '1121201211212012',
parentSampled: false,
metadata: { baggage: [{}, '', false], source: 'url' },
metadata: { baggage: [{}, '', false], source: 'route' },
});
// @ts-ignore see "Why @ts-ignore" note
expect(Sentry.fakeScope.setSpan).toBeCalledWith(Sentry.fakeTransaction);
Expand Down

0 comments on commit cda2aae

Please sign in to comment.