Skip to content

Commit 00fb39b

Browse files
committed
works on node 22
1 parent 2856a4c commit 00fb39b

File tree

1 file changed

+2
-2
lines changed
  • dev-packages/node-integration-tests/suites/tracing/requests/http-no-tracing-no-spans

1 file changed

+2
-2
lines changed

dev-packages/node-integration-tests/suites/tracing/requests/http-no-tracing-no-spans/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { createTestServer } from '../../../../utils/server';
55

66
describe('outgoing http requests with tracing & spans disabled', () => {
77
createEsmAndCjsTests(__dirname, 'scenario.mjs', 'instrument.mjs', (createRunner, test) => {
8-
conditionalTest({ min: 23 })('node >=23', () => {
8+
conditionalTest({ min: 22 })('node >=22', () => {
99
test('outgoing http requests are correctly instrumented with tracing & spans disabled', async () => {
1010
expect.assertions(11);
1111

@@ -104,7 +104,7 @@ describe('outgoing http requests with tracing & spans disabled', () => {
104104

105105
// On older node versions, outgoing requests do not get trace-headers injected, sadly
106106
// This is because the necessary diagnostics channel hook is not available yet
107-
conditionalTest({ max: 22 })('node <=22', () => {
107+
conditionalTest({ max: 21 })('node <22', () => {
108108
test('outgoing http requests generate breadcrumbs correctly with tracing & spans disabled', async () => {
109109
expect.assertions(9);
110110

0 commit comments

Comments
 (0)