{"size": 715, "ext": "js", "max_stars_repo_path": "test.js", "max_stars_repo_name": "Richienb/is-obj", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "test.js", "max_issues_repo_name": "Richienb/is-obj", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "test.js", "max_forks_repo_name": "Richienb/is-obj", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 26.4814814815, "max_line_length": 39, "alphanum_fraction": 0.6377622378}
import test from 'ava';
import isObject from '.';

test('main', t => {
	/* eslint-disable no-new-object */
	t.true(isObject({}));
	t.true(isObject(new Object()));
	t.true(isObject(new Date()));
	t.true(isObject(new RegExp()));
	t.true(isObject(Object.create(null)));
	t.true(isObject({foo: true}));
	t.true(isObject([]));
	t.true(isObject(['foo', 'bar']));
	t.true(isObject(() => {}));
	t.true(isObject(/./));
	t.true(isObject(new Object(0)));
	t.true(isObject(new Object('foo')));
	t.true(isObject(new Object(false)));
	t.false(isObject(null));
	t.false(isObject(undefined));
	t.false(isObject(NaN));
	t.false(isObject(''));
	t.false(isObject(0));
	t.false(isObject(false));
	/* eslint-enable no-new-object */
});
