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();
});

Package Sidebar

Install

npm i tape-deep-include

Weekly Downloads

1

Version

0.2.0

License

MIT

Last publish

Collaborators

  • maxlun86