mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-23 23:52:27 -04:00
Fix history
This commit is contained in:
@@ -42,11 +42,9 @@ describe("Get series", () => {
|
||||
);
|
||||
expect(body.firstEntry.videos).toBeArrayOfSize(1);
|
||||
// check that it's an iso datetime
|
||||
console.log(body.createdAt);
|
||||
expect(body.createdAt).toMatch(
|
||||
/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+Z/,
|
||||
);
|
||||
console.log(body.firstEntry.createdAt);
|
||||
expect(body.firstEntry.createdAt).toMatch(
|
||||
/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+Z/,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user