fix: port issue test
This commit is contained in:
parent
776e037719
commit
9a6046c563
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@ test("issue API ", async () => {
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
expect(notifications[0].subject.type).toEqual("Issue");
|
expect(notification.subject.type).toEqual("Issue");
|
||||||
expect(issue.title).toEqual(notifications[0].subject.title);
|
expect(issue.title).toEqual(notification.subject.title);
|
||||||
expect(issue.lazy_comments_data).toBeUndefined();
|
expect(issue.lazy_comments_data).toBeUndefined();
|
||||||
expect(issue.created_at instanceof Date).toBe(true);
|
expect(issue.created_at instanceof Date).toBe(true);
|
||||||
expect(issue.updated_at instanceof Date).toBe(true);
|
expect(issue.updated_at instanceof Date).toBe(true);
|
||||||
|
|
Loading…
Reference in a new issue