@tdb/util
Version:
Shared helpers and utilities.
17 lines (13 loc) • 353 B
text/typescript
import { expect } from 'chai';
import { http } from '.';
describe('http (fetch)', () => {
it('has request', () => {
expect(http.request).to.be.an.instanceof(Function);
});
it('has GET', () => {
expect(http.get).to.be.an.instanceof(Function);
});
it('has POST', () => {
expect(http.post).to.be.an.instanceof(Function);
});
});