Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Nov 8, 2024
1 parent 841832b commit 1060b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/heatmaps.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,6 @@ describe('heatmaps', () => {
it('starts dead clicks autocapture with the correct config', () => {
const heatmapsDeadClicksInstance = posthog.heatmaps['deadClicksCapture']
expect(heatmapsDeadClicksInstance.isEnabled(heatmapsDeadClicksInstance)).toBe(true)
expect(heatmapsDeadClicksInstance.onCapture).toBe(posthog.heatmaps['_onDeadClick'])
expect(heatmapsDeadClicksInstance.onCapture).toEqual(posthog.heatmaps['_onDeadClick'].bind(posthog.heatmaps))
})
})

0 comments on commit 1060b3f

Please sign in to comment.