-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
What component(s) are affected?
- Opik Python SDK
- Opik Typescript SDK
- Opik Agent Optimizer SDK
- Opik UI
- Opik Server
- Documentation
Opik version
- Opik version: latest@main
Describe the problem
NPM test is throwing datetime related errors in test when running locally (outside of docker). Running macbook on PST timezone.
× calculateIntervalStartAndEnd > when end date is today > should use current time as end and calculate start based on difference for <= 1 day range 11ms
→ expected '2024-01-15T23:59:59Z' to be '2024-01-15T14:30:00Z' // Object.is equality
× calculateIntervalStartAndEnd > when end date is today > should use current time as end and calculate start based on difference for 1 day range 1ms
→ expected '2024-01-15T23:59:59Z' to be '2024-01-15T14:30:00Z' // Object.is equality
× calculateIntervalStartAndEnd > when end date is today > should use current time as end and calculate start based on difference for > 1 day range 1ms
→ expected '2024-01-15T23:59:59Z' to be '2024-01-15T14:30:00Z' // Object.is equality
× calculateIntervalStartAndEnd > when end date is today > should handle week-long range ending today 0ms
→ expected '2024-01-15T23:59:59Z' to be '2024-01-15T14:30:00Z' // Object.is equality```
<img width="1920" height="1276" alt="Image" src="https://github.com/user-attachments/assets/de72f204-1947-48fb-a6fd-21528a787806" />
### Reproduction steps and code snippets
_No response_
### Error logs or stack trace
_No response_
### Healthcheck results
_No response_
Metadata
Metadata
Assignees
Labels
No labels