UNPKG

hamjest

Version:

A library of composable matchers for defining meaningful and readable assertions in JavaScript.

13 lines (10 loc) 264 B
'use strict'; const _extend = require('lodash/extend'); const hasSize = require('./hasSize'); module.exports = function () { return _extend(hasSize(0), { describeTo: function (description) { description.append('an empty collection or string'); } }); };