Skip to content

Conversation

@harryalloyd
Copy link
Contributor

Add Jest configuration and setup files
Add test for all 7 widgets (Clock, Search, Notepad, ToDoList, Shortcut, Weather, BatteryWidget)
Update Weather.tsx so that it can work with the jest test
Add testing dependencies to package.json

Do these:
npm install
npm test

- Add Jest configuration and setup files
- Add test suite for all 7 widgets (Clock, Search, Notepad, ToDoList, Shortcut, Weather, BatteryWidget)
- Update Weather.tsx type annotation for better TypeScript support
- Add testing dependencies to package.json
Copy link
Contributor

@bacurrah bacurrah left a comment

Choose a reason for hiding this comment

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

Looks good, all tests pass. package-lock.json needs conflicts resolved (just replace the old one).

@BogachanKarabiyik BogachanKarabiyik self-requested a review December 8, 2025 19:29
@harryalloyd harryalloyd merged commit 93d544a into main Dec 8, 2025
1 check 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.

4 participants