Skip to content

Add unit test for calculateZoomLevel #6

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Deadier
Copy link
Owner

@Deadier Deadier commented Jun 5, 2025

Summary

  • add basic Node+Jest setup
  • extract calculateZoomLevel function to js/utils.js
  • link new utility script in the HTML page
  • document running tests in README
  • write Jest tests verifying the zoom logic

Testing

  • npm test

https://chatgpt.com/codex/tasks/task_e_68413c32380c8326b0ed533ac19ae461

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant