test: Fixing some linting in the tests

This commit is contained in:
Justin 2019-06-27 14:13:02 -04:00
parent b1fa90bffc
commit 67aa49cde3
2 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class Issues extends BaseService {
projectId,
groupId,
...options
}: ({ projectId: ProjectId } | { groupId: GroupId } | {}) & PaginatedRequestOptions) {
}?: ({ projectId?: ProjectId } | { groupId?: GroupId } | {}) & PaginatedRequestOptions) {
let url;
if (projectId) {

View File

@ -31,6 +31,8 @@ describe('Issues.create', () => {
expect(issue1).toBeInstanceOf(Object);
expect(issue1.title).toBe('Issue Integration test1');
expect(issue2).toBeInstanceOf(Object);
expect(issue2.title).toBe('Issue Integration test2');
});
});