Justin Dalrymple 6a3292b033
Expose typing to consumer and remove export complexity (#1818)
- Exports all types
- Clean up type duplicates
- Remove Project,User and Group Bundles
- Fix typing on the Gitlab Export
- Clean up README.md
2021-07-05 15:34:19 -04:00

13 lines
417 B
TypeScript

import 'jest-extended';
import * as CoreGB from '@gitbeaker/core';
import * as NodeGB from '../../src';
const { Types: browserTypes, ...nodeResources } = NodeGB;
const { getAPIMap, Types: coreTypes, ...coreResources } = CoreGB;
describe('Node Import', () => {
it('should re-export all resources from core', () => {
expect(Object.keys(nodeResources)).toIncludeAllMembers(Object.keys(coreResources));
});
});