UNPKG

@kth/api-call

Version:

Node.js module to make JSON calls against APIs.

10 lines (8 loc) 302 B
const apiCall = require('./index') describe('Package "@kth/api-call"', () => { it(`has all the expected exports`, () => { expect(typeof apiCall.BasicAPI).toBe('function') expect(typeof apiCall.Connections).toBe('object') expect(typeof apiCall.Connections.setup).toBe('function') }) })