Skip to content

Commit

Permalink
test: remove the redundant test
Browse files Browse the repository at this point in the history
  • Loading branch information
rauno56 committed Jun 22, 2022
1 parent 4976fe5 commit 0f9684b
Showing 1 changed file with 0 additions and 43 deletions.
43 changes: 0 additions & 43 deletions metapackages/auto-instrumentations-node/test/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,49 +22,6 @@ import { getNodeAutoInstrumentations } from '../src';

describe('utils', () => {
describe('getNodeAutoInstrumentations', () => {
it('should load default instrumentations', () => {
const instrumentations = getNodeAutoInstrumentations();
const expectedInstrumentations = [
'@opentelemetry/instrumentation-amqplib',
'@opentelemetry/instrumentation-aws-lambda',
'@opentelemetry/instrumentation-aws-sdk',
'@opentelemetry/instrumentation-bunyan',
'@opentelemetry/instrumentation-cassandra-driver',
'@opentelemetry/instrumentation-connect',
'@opentelemetry/instrumentation-dns',
'@opentelemetry/instrumentation-express',
'@opentelemetry/instrumentation-fastify',
'@opentelemetry/instrumentation-fs',
'@opentelemetry/instrumentation-generic-pool',
'@opentelemetry/instrumentation-graphql',
'@opentelemetry/instrumentation-grpc',
'@opentelemetry/instrumentation-hapi',
'@opentelemetry/instrumentation-http',
'@opentelemetry/instrumentation-ioredis',
'@opentelemetry/instrumentation-knex',
'@opentelemetry/instrumentation-koa',
'@opentelemetry/instrumentation-lru-memoizer',
'@opentelemetry/instrumentation-memcached',
'@opentelemetry/instrumentation-mongodb',
'@opentelemetry/instrumentation-mysql',
'@opentelemetry/instrumentation-mysql2',
'@opentelemetry/instrumentation-nestjs-core',
'@opentelemetry/instrumentation-net',
'@opentelemetry/instrumentation-pg',
'@opentelemetry/instrumentation-pino',
'@opentelemetry/instrumentation-redis',
'@opentelemetry/instrumentation-redis-4',
'@opentelemetry/instrumentation-restify',
'@opentelemetry/instrumentation-router',
'@opentelemetry/instrumentation-tedious',
'@opentelemetry/instrumentation-winston',
];
assert.deepStrictEqual(
new Set(instrumentations.map(i => i.instrumentationName)),
new Set(expectedInstrumentations)
);
});

it('should include all installed instrumentations', () => {
const instrumentations = getNodeAutoInstrumentations();
const installedInstrumentations = Object.keys(
Expand Down

0 comments on commit 0f9684b

Please sign in to comment.