From f61dda4a49f2add5b2b9e417f228e1eb41dd2d20 Mon Sep 17 00:00:00 2001 From: Yagiz Nizipli Date: Tue, 16 Jan 2024 10:55:18 -0500 Subject: [PATCH 1/2] test: fix node.js integration tests --- .../suites/express/tracing-experimental/test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-packages/node-integration-tests/suites/express/tracing-experimental/test.ts b/dev-packages/node-integration-tests/suites/express/tracing-experimental/test.ts index bb439a043960..526a211033a0 100644 --- a/dev-packages/node-integration-tests/suites/express/tracing-experimental/test.ts +++ b/dev-packages/node-integration-tests/suites/express/tracing-experimental/test.ts @@ -23,7 +23,7 @@ conditionalTest({ min: 14 })('express tracing experimental', () => { op: 'http.server', status: 'ok', tags: { - 'http.status_code': 200, + 'http.status_code': '200', }, }, }, @@ -63,7 +63,7 @@ conditionalTest({ min: 14 })('express tracing experimental', () => { op: 'http.server', status: 'ok', tags: { - 'http.status_code': 200, + 'http.status_code': '200', }, }, }, @@ -95,7 +95,7 @@ conditionalTest({ min: 14 })('express tracing experimental', () => { op: 'http.server', status: 'ok', tags: { - 'http.status_code': 200, + 'http.status_code': '200', }, }, }, @@ -135,7 +135,7 @@ conditionalTest({ min: 14 })('express tracing experimental', () => { op: 'http.server', status: 'ok', tags: { - 'http.status_code': 200, + 'http.status_code': '200', }, }, }, From 2d76a279fd2154198230bf313f3180dc4eb28245 Mon Sep 17 00:00:00 2001 From: Yagiz Nizipli Date: Tue, 16 Jan 2024 11:10:54 -0500 Subject: [PATCH 2/2] fix linting error --- packages/core/test/lib/scope.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/test/lib/scope.test.ts b/packages/core/test/lib/scope.test.ts index 58f3fe2bb90a..90678eb5062b 100644 --- a/packages/core/test/lib/scope.test.ts +++ b/packages/core/test/lib/scope.test.ts @@ -528,7 +528,7 @@ describe('withActiveSpan()', () => { const client = new TestClient(options); const scope = new Scope(); const hub = new Hub(client, scope); - makeMain(hub); + makeMain(hub); // eslint-disable-line deprecation/deprecation }); it('should set the active span within the callback', () => {