2018-05-17 18:34:58 -04:00

11 lines
319 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([]);
});
});