method
test.Matchers.toBeObject
Asserts that a value is an object.
expect({}).toBeObject();
expect("notAnObject").not.toBeObject();
expect(NaN).not.toBeObject();method
Asserts that a value is an object.
expect({}).toBeObject();
expect("notAnObject").not.toBeObject();
expect(NaN).not.toBeObject();