thunderbird / thunderbird/appointment
Adjust timezone for github frontend test runner
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Python
- Stars
- 552
- Forks
- 29
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 23
Description
Currently testing https://github.com/thunderbird/appointment/pull/552 is impossible since it uses the client's timezone, which by default is set to utc.
I'm sure we could mock the timezone fetcher, but it might be easier to just set the timezone of the github job that runs vitest.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the GitHub Actions job that runs Vitest for the frontend and check how its timezone is configured. Reproduce the issue with the tests related to pull request 552, then verify that the job uses the intended timezone and the frontend test suite passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, javascript
- Domain
- ci-cd, frontend, testing
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100