bitovi / bitovi/funcunit

perform a test during a mousedown event

Open
#158 0 comments 0 reactions 0 assignees View on GitHub
p2
Dominant language
JavaScript
Stars
571
Forks
370
PR merge metrics
No merged PRs in 30d

Description

I want to write a test when the mousedown event is triggered. A class is add during the mousedown and removed at the mouseup event. At the moment it is only possible to perform a ".click()" which triggers a mousedown and also a mouseup event so I can not test if the class is added between the mousedown and the mouseup event.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the existing .click() entry point and how it dispatches mousedown and mouseup events. The work is done when a test can trigger mousedown independently, observe the class while it is present, and then trigger mouseup to verify its removal.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.