Skip to content

Conversation

akib22
Copy link
Contributor

@akib22 akib22 commented Oct 9, 2025

Summary

This PR adds a testing environment and initial unit tests for the repository’s utility functions to improve reliability and make it easier for contributors to validate changes.

  • Add test configuration and tooling (test framework, setup files, and npm/yarn test scripts).
  • Add unit tests for utility functions (cache, fullscreen, utils).

How to run the tests locally

Install dependencies: npm install (or yarn)
Run test: npm run test
Run test with UI: npm run test:ui
Generate coverage: npm run test:coverage

Coverage Report

image

Request for feedback

  • Do you prefer a different testing framework or directory structure for tests?
  • I'd appreciate any feedback on the testing strategy and am eager to incorporate your suggestions in upcoming test files

Related to

Issue #635

Copy link

vercel bot commented Oct 9, 2025

@akib22 is attempting to deploy a commit to the dottle's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants