Symptom
The test "should parse incident dates correctly" passes on some machines but fails on others. Whether it passes depends on the local timezone.
Context
The incident's createdAt is a UTC timestamp (ending with Z). The test parses this date and checks that the hour matches an expected value. The expected value was written assuming UTC, but the assertion uses a timezone-sensitive method.
Hints
TypeScript
TypeScript ready
Test Output
▶
Click "Run Tests" to execute your code