Skip to content

Commit

Permalink
fix weird tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst committed May 7, 2024
1 parent c0cf107 commit f2554a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/opentelemetry-node/test/spanprocessor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ describe('SentrySpanProcessor', () => {

expect(description).toBe('GET /my/route/{id}');
expect(data).toEqual({
'http.method': 'GET',
'http.request.method': 'GET',
'http.route': '/my/route/{id}',
'http.target': '/my/route/123',
'http.url': 'http://example.com/my/route/123',
Expand Down Expand Up @@ -661,7 +661,7 @@ describe('SentrySpanProcessor', () => {

expect(description).toBe('GET http://example.com/my/route/123');
expect(data).toEqual({
'http.method': 'GET',
'http.request.method': 'GET',
'http.target': '/my/route/123',
'http.url': 'http://example.com/my/route/123',
'otel.kind': 'INTERNAL',
Expand Down Expand Up @@ -693,7 +693,7 @@ describe('SentrySpanProcessor', () => {

expect(description).toBe('GET http://example.com/my/route/123');
expect(data).toEqual({
'http.method': 'GET',
'http.request.method': 'GET',
'http.target': '/my/route/123',
'http.url': 'http://example.com/my/route/123?what=123#myHash',
'otel.kind': 'INTERNAL',
Expand Down

0 comments on commit f2554a5

Please sign in to comment.