Skip to content

Commit

Permalink
feat: Disable redis instrumentation env
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Orlovsky committed Oct 17, 2024
1 parent febbe84 commit 717ab79
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/instrumentations/redis/RedisInstrumentation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ describe('LumigoRedisInstrumentation', () => {
const child_process = require('child_process');
child_process.execSync('npm install [email protected]', { stdio: 'inherit' });

expect(lumigoRedisInstrumentation.isApplicable()).toEqual(true);

process.env.LUMIGO_DISABLE_REDIS_INSTRUMENTATION = 'true';
expect(lumigoRedisInstrumentation.isApplicable()).toEqual(false);
});
Expand Down

0 comments on commit 717ab79

Please sign in to comment.