From 0f9684b656699472b471ee5ec2ec333b20b92d95 Mon Sep 17 00:00:00 2001 From: Rauno Viskus Date: Wed, 22 Jun 2022 11:24:45 +0300 Subject: [PATCH] test: remove the redundant test --- .../test/utils.test.ts | 43 ------------------- 1 file changed, 43 deletions(-) diff --git a/metapackages/auto-instrumentations-node/test/utils.test.ts b/metapackages/auto-instrumentations-node/test/utils.test.ts index c064e28ad8..5707eed8f3 100644 --- a/metapackages/auto-instrumentations-node/test/utils.test.ts +++ b/metapackages/auto-instrumentations-node/test/utils.test.ts @@ -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(