Skip to content

Commit

Permalink
Fix test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
watson committed Jul 18, 2024
1 parent b376911 commit ba21058
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/dd-trace/test/log.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ describe('log', () => {
it('should not be possbile to mutate config object returned by getConfig', () => {
const log = require('../src/log')
const config = log.getConfig()
expect(() => { config.enabled = 1 }).to.throw()
expect(() => { config.logger = 1 }).to.throw()
expect(() => { config.logLevel = 1 }).to.throw()
config.enabled = 1
config.logger = 1
config.logLevel = 1
expect(log.getConfig()).to.deep.equal({
enabled: false,
logger: undefined,
Expand Down

0 comments on commit ba21058

Please sign in to comment.