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

A bug fix in unsnap test #16724

Merged
merged 1 commit into from
Mar 17, 2025
Merged

Conversation

yjwoo14
Copy link

@yjwoo14 yjwoo14 commented Mar 14, 2025

'unsnaps if snapped to other feature' test is supposedly testing unsnap signal when it snaps to another feature.

However, the event was not made correctly so it didn't snap to any other feature. It was simply testing the same thing as 'unsnaps not snapped to anything' test.

Copy link
Member

@ahocevar ahocevar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for spotting this, and for submitting a fix! I added a suggestion for another improvement.

'unsnaps if snapped to other feature' test is supposedly testing unsnap signal
when it snaps to another feature. However, the event was not made correctly so
it didn't snap to any other feature.  It was simply testing the same thing as
'unsnaps not snapped to anything' test.
@yjwoo14 yjwoo14 force-pushed the enhance_unsnap_test branch from 6d9547f to e635856 Compare March 17, 2025 00:30
Copy link

📦 Preview the website for this branch here: https://deploy-preview-16724--ol-site.netlify.app/.

@ahocevar
Copy link
Member

Thanks, @yjwoo14

@ahocevar ahocevar merged commit 29facdd into openlayers:main Mar 17, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants