Asserts that a value is an empty object
.
method
test.Matchers.toBeEmptyObject
expect({}).toBeEmptyObject();
expect({ a: 'hello' }).not.toBeEmptyObject();
method
Asserts that a value is an empty object
.
expect({}).toBeEmptyObject();
expect({ a: 'hello' }).not.toBeEmptyObject();