Skip to content

Commit

Permalink
Add missing forEach
Browse files Browse the repository at this point in the history
  • Loading branch information
watson committed Dec 17, 2024
1 parent 3fbac51 commit 1a6b704
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion integration-tests/debugger/basic.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,9 @@ describe('Dynamic Instrumentation', function () {
}

t.agent.on('debugger-diagnostics', ({ payload }) => {
if (payload.debugger.diagnostics.status === 'INSTALLED') triggerBreakpointContinuously()
payload.forEach((event) => {
if (event.debugger.diagnostics.status === 'INSTALLED') triggerBreakpointContinuously()
})
})

t.agent.on('debugger-input', () => {
Expand Down

0 comments on commit 1a6b704

Please sign in to comment.