2018-05-20 15:28:09 -04:00

14 lines
354 B
JavaScript

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