Package Exports
- assert-set
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (assert-set) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
assert-set
Assertion with Sets.
Installation
npm
npm install -D assert-setUsage
const assertSet = require("assert-set");
assertSet.equal(
[{foo: 1}, {bar: 2}],
[{bar: 2}, {foo: 1}]
); // success
assertSet.equal(
[{foo: 1}, {bar: 2}],
[{bar: 3}, {foo: 1}]
); // errorAPI
equal
equal(actual: Iterable, expected: Iterable, message?) => voidAssert if actual deeply equals expected. The item can be out of order.
Changelog
0.1.0 (Oct 4, 2019)
- First release.