We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
submission.time
1 parent fba3452 commit 02aba3aCopy full SHA for 02aba3a
src/core/_test/query.test.ts
@@ -34,7 +34,7 @@ function test_types(data: FetchedData) {
34
expect(typeof submission.status).toBe("string");
35
expect(typeof submission.title).toBe("string");
36
expect(typeof submission.lang).toBe("string");
37
- expect(submission.time).toBeInstanceOf(Date);
+ expect(submission.time).toBeGreaterThan(0);
38
}
39
40
if (data.contest) {
0 commit comments