mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-18 15:55:30 +00:00
16 lines
354 B
JavaScript
16 lines
354 B
JavaScript
import { Projects } from '../../../src';
|
|
|
|
const credentials = {
|
|
url: process.env.GITLAB_URL,
|
|
token: process.env.PERSONAL_ACCESS_TOKEN
|
|
}
|
|
|
|
describe('Projects.all', () => {
|
|
it('should return empty array', async () => {
|
|
const service = new Projects(credentials);
|
|
const projects = await service.all();
|
|
|
|
expect(projects).toEqual([]);
|
|
});
|
|
});
|