Skip to content

Conversation

@setchy
Copy link
Member

@setchy setchy commented Dec 12, 2025

No description provided.

Signed-off-by: Adam Setch <adam.setch@outlook.com>
@github-actions github-actions bot added the test Enhancements to test coverage or quality label Dec 12, 2025
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
};

// Mock OAuth client ID and secret
process.env.OAUTH_CLIENT_ID = 'FAKE_CLIENT_ID_123';
Copy link
Member Author

Choose a reason for hiding this comment

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

As best as I can tell, these are unused / not effective

*/
export default () => {
// Sets timezone to UTC for consistent date/time in tests and snapshots
process.env.TZ = 'UTC';
Copy link
Member Author

Choose a reason for hiding this comment

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

Prevent datetimes changing in snapshots when pnpm test is run in different timezones (ie: Austrlaia 🦘)

@setchy setchy merged commit 79ba94b into main Dec 12, 2025
8 of 9 checks passed
@setchy setchy deleted the test/jest-setup-timezone branch December 12, 2025 17:46
@github-actions github-actions bot added this to the Release 6.15.0 milestone Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Enhancements to test coverage or quality

Development

Successfully merging this pull request may close these issues.

2 participants