Skip to content

Commit

Permalink
fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
juan-fernandez committed Feb 17, 2025
1 parent 03a028a commit dbb99bf
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions packages/dd-trace/test/config.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2138,15 +2138,10 @@ describe('Config', () => {
const config = new Config(options)
expect(config).to.have.property('ciVisAgentlessLogSubmissionEnabled', true)
})
it('should not set isTestDynamicInstrumentationEnabled by default', () => {
it('should set isTestDynamicInstrumentationEnabled by default', () => {
const config = new Config(options)
expect(config).to.have.property('isTestDynamicInstrumentationEnabled', false)
expect(config).to.have.property('isTestDynamicInstrumentationEnabled', true)
})
it('should set isTestDynamicInstrumentationEnabled to true if DD_TEST_FAILED_TEST_REPLAY_ENABLED is not passed',
() => {
const config = new Config(options)
expect(config).to.have.property('isTestDynamicInstrumentationEnabled', true)
})
it('should set isTestDynamicInstrumentationEnabled to false if DD_TEST_FAILED_TEST_REPLAY_ENABLED is false',
() => {
process.env.DD_TEST_FAILED_TEST_REPLAY_ENABLED = 'false'
Expand Down

0 comments on commit dbb99bf

Please sign in to comment.