Skip to content

Enhance tests and refactor utility components for consistency - #52

Merged
Barata-Ribeiro merged 8 commits into
mainfrom
implement-utilities-test
Sep 1, 2026
Merged

Enhance tests and refactor utility components for consistency#52
Barata-Ribeiro merged 8 commits into
mainfrom
implement-utilities-test

Conversation

@Barata-Ribeiro

Copy link
Copy Markdown
Owner

This pull request introduces new browser-based tests for several utility components and makes minor improvements to the TextToSpeech component. The main focus is on adding comprehensive test coverage for the CharCounter, DiceRollerTab, LoremIpsum, and MemeGenerator components. Additionally, form validation and button enablement logic are improved in the TextToSpeech component, and there are minor dependency reference updates in pnpm-lock.yaml.

New and Improved Test Coverage:

  • Added browser tests for CharCounter, including input handling, character/word/line counting, and real-time updates.
  • Added browser tests for DiceRollerTab, covering tab navigation and toggling between dice roller modes.
  • Added browser tests for LoremIpsum, validating form input, radio button selection, error handling, and reset functionality.
  • Added browser tests for MemeGenerator, verifying the presence of main UI sections, upload/reset/export buttons, and text controls.

Component Improvements:

  • Improved TextToSpeech form validation by enabling the play button only when the text input is valid, and switched form validation mode to 'onChange' for better UX. [1] [2]

Dependency Reference Updates:

  • Updated vitest dependency references in pnpm-lock.yaml to simplify and deduplicate the dependency chain. [1] [2] [3] [4] [5] [6]

@Barata-Ribeiro Barata-Ribeiro self-assigned this Aug 31, 2026
@Barata-Ribeiro Barata-Ribeiro added bug Something isn't working enhancement New feature or request chore Handle config, moving etc. labels Aug 31, 2026
@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
utilities-webapp Ready Ready Preview Aug 31, 2026 2:49pm

@Barata-Ribeiro
Barata-Ribeiro merged commit 603fd81 into main Sep 1, 2026
3 checks passed
@Barata-Ribeiro
Barata-Ribeiro deleted the implement-utilities-test branch September 1, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working chore Handle config, moving etc. enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant