UNPKG

@eluvio/elv-js-helpers

Version:

A collection of Javascript helper functions used by several Eluvio libraries.

14 lines (12 loc) 462 B
// AUTO-GENERATED TEST - DO NOT MODIFY, CHANGES WILL BE OVERWRITTEN DURING BUILD 'use strict' const TH = require('../../../test-helpers') const isOfKind = TH.requireSrcFile('Boolean/isOfKind') describe('isOfKind JSDoc example', () => { it('should execute correctly as described', () => { 'use strict' isOfKind('Array', [1, 2, 3]).should.eql(true) isOfKind('Array', 1, 2, 3).should.eql(false) isOfKind('Array', 'foo').should.eql(false) }) })