Adds the allowAdditionalProps option, thanks to @segphault.
Example
assert.deepEquals(
{foo: {bar: "baz", extra: true}, extra: true},
{foo: {bar: "baz"}},
{allowAdditionalProps: true}
)Before that option you would have had to add ...any() to the expectation object and its child object(s).
See #1 for details.