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