Skip to content

Commit

Permalink
Get blocking action test with empty object instead undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlesDD committed May 28, 2024
1 parent a7e246c commit 0768977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dd-trace/test/appsec/blocking.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ describe('waf actions', () => {
})

it('get undefined when no actions', () => {
const actions = undefined
const actions = {}
expect(blocking.getBlockingAction(actions)).to.be.undefined
})

Expand Down

0 comments on commit 0768977

Please sign in to comment.