Real-Dev-Squad / website-status

Shows a roadmap of the ongoing projects being done
https://status.realdevsquad.com/
MIT License
21 stars 147 forks source link

Add tests to calendar page for steady status data. #1161

Closed VinayakaHegade closed 2 months ago

VinayakaHegade commented 2 months ago

Date: 28-02-2024

Developer Name: @VinayakaHegade


Issue Ticket Number

1103

Description

This PR adds tests for the calendar page. Currently, we are only able to test predictable statuses, such as "displays holiday message on clicking a Sunday". Other statuses like "active", "idle", and "ooo" cannot be tested with the current implementation. Once the calendar page code is refactored, tests for these remaining statuses will be added.

And change in jest config file is to fix the below issue i was facing. config error

Documentation Updated?

Under Feature Flag

Database Changes

Breaking Changes

Development Tested?

Test Coverage

Screenshot 1 ![tests](https://github.com/Real-Dev-Squad/website-status/assets/88454618/26b02f6d-25be-4fa3-a63e-a2127752c301)

Additional Notes

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
status-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 28, 2024 11:08am