Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit test for button component #65

Merged
merged 18 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
ec2ac9b
add basic unit test for button component
satyam-seth Oct 4, 2023
adffd5c
dialpad button should not throw an error for valid config
satyam-seth Oct 5, 2023
252e3a3
dialpad button should throw an error for invalid config
satyam-seth Oct 5, 2023
242e82f
dialpad button should has correct id
satyam-seth Oct 5, 2023
c1ba45c
dialpad button titleElement should return correct html element
satyam-seth Oct 5, 2023
0d2f281
dialpad button build should append skeleton to parentElement
satyam-seth Oct 5, 2023
1781eb5
dialpad button subtitleElement should return correct html element
satyam-seth Oct 5, 2023
9de3470
Merge branch 'main' into unit-test-button-component
satyam-seth Oct 5, 2023
620df95
dialpad button querySelector should retrieve button HTMLElement
satyam-seth Oct 6, 2023
eb72c29
dialpad button skeleton should return correct html element
satyam-seth Oct 7, 2023
3f9eaa2
refactor configure button component events for test
satyam-seth Oct 8, 2023
015901a
update dist
satyam-seth Oct 8, 2023
d84e056
assert that the configureButtonEvents called once with button skeleton
satyam-seth Oct 8, 2023
ebfc2c4
dialpad button configureButtonEvents should apply LongPressEvent on b…
satyam-seth Oct 8, 2023
dd5d638
dialpad button configureButtonEvents should called addClickEventListe…
satyam-seth Oct 8, 2023
dc2cf56
dialpad button addClickEventListener should add a click event listene…
satyam-seth Oct 8, 2023
0a0fabb
dialpad button applyLongPressEvent should apply long press event nd c…
satyam-seth Oct 8, 2023
c1e7c59
update titleElement and subtitleElement return type
satyam-seth Oct 8, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading