Skip to content

Commit 02aba3a

Browse files
committed
test: update submission.time exception
1 parent fba3452 commit 02aba3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/_test/query.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function test_types(data: FetchedData) {
3434
expect(typeof submission.status).toBe("string");
3535
expect(typeof submission.title).toBe("string");
3636
expect(typeof submission.lang).toBe("string");
37-
expect(submission.time).toBeInstanceOf(Date);
37+
expect(submission.time).toBeGreaterThan(0);
3838
}
3939

4040
if (data.contest) {

0 commit comments

Comments
 (0)