mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-18 15:55:30 +00:00
14 lines
344 B
TypeScript
14 lines
344 B
TypeScript
import { Projects } from '../../../src';
|
|
|
|
describe('Projects.all', () => {
|
|
it('should return an array', async () => {
|
|
const service = new Projects({
|
|
url: process.env.GITLAB_URL,
|
|
token: process.env.PERSONAL_ACCESS_TOKEN!,
|
|
});
|
|
const projects = await service.all();
|
|
|
|
expect(projects).toBeInstanceOf(Array);
|
|
});
|
|
});
|