Skip to content

Commit 7666478

Browse files
committed
Use ms since epoch in test, not seconds
1 parent 47d43c4 commit 7666478

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/webapp/test/runsRepository.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,8 +1273,8 @@ describe("RunsRepository", () => {
12731273
page: { size: 10 },
12741274
projectId: project.id,
12751275
environmentId: runtimeEnvironment.id,
1276-
from: Math.floor(yesterday.getTime() / 1000),
1277-
to: Math.floor(now.getTime() / 1000),
1276+
from: yesterday.getTime(),
1277+
to: now.getTime(),
12781278
});
12791279

12801280
expect(runs).toHaveLength(2);

0 commit comments

Comments
 (0)