tape-deep-include
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

#tape-deep-include

npm version Build Status

tape deepInclude assertion

example

var test = require('tape');
require('tape-deep-include');

function testable() {
  return [
    {one: 1},
    {two: 2}
  ]
}

test('testable test', function (t) {
  t.deepInclude(testable(), {one: 1});
  t.end();
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    1
    • latest

Version History

Package Sidebar

Install

npm i tape-deep-include

Weekly Downloads

2

Version

0.2.0

License

MIT

Last publish

Collaborators

  • maxlun86