2018-05-22 20:23:44 -04:00

15 lines
355 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([]);
});
});