Skip to content

Commit c209205

Browse files
committed
Skip node v14
1 parent 4488637 commit c209205

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

plugins/node/opentelemetry-instrumentation-express/test/v5/custom-config.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import {
3232
} from '../../src';
3333
import { createServer, httpRequest } from './utils';
3434

35-
const nodeVersionNotSupported = process.version.startsWith('14');
35+
const nodeVersionNotSupported = process.version.startsWith('v14');
3636
if (nodeVersionNotSupported) {
3737
console.log('Skipping express v5 tests for node version 14');
3838
process.exit(0);

plugins/node/opentelemetry-instrumentation-express/test/v5/express.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import { createServer, httpRequest, serverWithMiddleware } from './utils';
2828
import { SEMATTRS_HTTP_ROUTE } from '@opentelemetry/semantic-conventions';
2929
import * as testUtils from '@opentelemetry/contrib-test-utils';
3030

31-
const nodeVersionNotSupported = process.version.startsWith('14');
31+
const nodeVersionNotSupported = process.version.startsWith('v14');
3232
if (nodeVersionNotSupported) {
3333
console.log('Skipping express v5 tests for node version 14');
3434
process.exit(0);

plugins/node/opentelemetry-instrumentation-express/test/v5/hooks.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { ExpressRequestInfo, SpanNameHook } from '../../src/types';
2929
import { ExpressLayerType } from '../../src/enums/ExpressLayerType';
3030
import { SEMATTRS_HTTP_METHOD } from '@opentelemetry/semantic-conventions';
3131

32-
const nodeVersionNotSupported = process.version.startsWith('14');
32+
const nodeVersionNotSupported = process.version.startsWith('v14');
3333
if (nodeVersionNotSupported) {
3434
console.log('Skipping express v5 tests for node version 14');
3535
process.exit(0);

plugins/node/opentelemetry-instrumentation-express/test/v5/ignore-all.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { AttributeNames } from '../../src/enums/AttributeNames';
2727
import { ExpressInstrumentation, ExpressLayerType } from '../../src';
2828
import { createServer, httpRequest } from './utils';
2929

30-
const nodeVersionNotSupported = process.version.startsWith('14');
30+
const nodeVersionNotSupported = process.version.startsWith('v14');
3131
if (nodeVersionNotSupported) {
3232
console.log('Skipping express v5 tests for node version 14');
3333
process.exit(0);

0 commit comments

Comments
 (0)