mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-30 11:14:27 +08:00
Merge pull request #4203 from JacobDanton/master
Updating Chai to have "Include" in "Deep"
This commit is contained in:
@@ -337,6 +337,11 @@ function deepEqual3(Date) {
|
||||
expect(a).not.to.deep.equal({});
|
||||
}
|
||||
|
||||
function deepInclude(val) {
|
||||
expect(['foo', 'bar']).to.deep.include(['bar', 'foo']);
|
||||
expect(['foo', 'bar']).not.to.deep.equal(['foo', 'baz' ]);
|
||||
}
|
||||
|
||||
function empty() {
|
||||
function FakeArgs() { };
|
||||
FakeArgs.prototype.length = 0;
|
||||
|
||||
Vendored
+1
@@ -132,6 +132,7 @@ declare module chai {
|
||||
|
||||
interface Deep {
|
||||
equal: Equal;
|
||||
include: Include;
|
||||
property: Property;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user