-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor AliasedEmails component and enhance test coverage
This commit includes a significant refactor of the AliasedEmails component to improve code readability and maintainability. The changes include the introduction of useCallback for the validateEmail function, reordering of functions for better logical flow, and the encapsulation of timestamp-related logic into a custom hook, useRealtimeTimestamp. In addition, the test coverage for the aliased emails feature has been significantly enhanced. New tests have been added to verify the correct storage of copy history, the correct copying to clipboard functionality, and the correct timestamp saved in the aliased emails with timestamp. The playwright configuration has also been updated to support these new tests and the extension page specifically.
- Loading branch information
Showing
3 changed files
with
196 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
549fd98
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
quick-lorem – ./
quicklorem.vercel.app
quicklorem.dev
www.quicklorem.dev
quick-lorem-mikikiv.vercel.app
quick-lorem-git-master-mikikiv.vercel.app