2018-05-23 17:30:55 -04:00

14 lines
336 B
JavaScript

import { Projects } from '../../../src';
describe('Projects.all', () => {
it('should return empty array', async () => {
const service = new Projects({
url: process.env.GITLAB_URL,
token: process.env.PERSONAL_ACCESS_TOKEN,
});
const projects = await service.all();
expect(projects).toEqual([]);
});
});