UNPKG

hamjest

Version:

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

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