UNPKG

@tdb/util

Version:
16 lines (15 loc) 501 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var chai_1 = require("chai"); var _1 = require("."); describe('http (fetch)', function () { it('has request', function () { chai_1.expect(_1.http.request).to.be.an.instanceof(Function); }); it('has GET', function () { chai_1.expect(_1.http.get).to.be.an.instanceof(Function); }); it('has POST', function () { chai_1.expect(_1.http.post).to.be.an.instanceof(Function); }); });