UNPKG

457 BJavaScriptView Raw
1/* jshint -W024 */
2/* jshint expr:true */
3'use strict'
4
5var apiconnector = require('./index.js')
6var expectPropertyFn = require('./test-check-helper.js').expectPropertyFn
7
8describe('response.js', function () {
9 describe('check general class structure', function () {
10 ['Response', 'Request', 'Client'].forEach(function (key) {
11 it('check constructor "' + key + '"', function () {
12 expectPropertyFn(apiconnector, key)
13 })
14 })
15 })
16})