UNPKG

packagecloud

Version:
14 lines (11 loc) 345 B
import PackageCloud from '../../packagecloud'; const pc = new PackageCloud({token: 'test_token'}); describe("Fetching Distros", () => { it('should return a JSON list of distros', () => { expect.assertions(1); let resolve = (data) => { expect(data).toBeDefined(); } return pc.getDistributions().then(resolve); }); });