mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
test: Fixing some linting in the tests
This commit is contained in:
parent
b1fa90bffc
commit
67aa49cde3
@ -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) {
|
||||
|
||||
@ -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');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user