{"size": 472, "ext": "js", "max_stars_repo_path": "packages/core/__tests__/plugins/utils/is-valid-transform.test.js", "max_stars_repo_name": "gleb-smagliy/unity", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "packages/core/__tests__/plugins/utils/is-valid-transform.test.js", "max_issues_repo_name": "gleb-smagliy/unity", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "packages/core/__tests__/plugins/utils/is-valid-transform.test.js", "max_forks_repo_name": "gleb-smagliy/unity", "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": 24.8421052632, "max_line_length": 71, "alphanum_fraction": 0.6313559322}
import { isValidTransform } from "../../../src/common-modules/plugins";

describe('isValidTransform', () =>
{
  it('should return true when non-null object is passed', () =>
  {
    expect(isValidTransform({})).toBeTruthy();
  });

  it('should return false when null object is passed', () =>
  {
    expect(isValidTransform(null)).toBeFalsy();
  });

  it('should return false when non-object is passed', () =>
  {
    expect(isValidTransform(123)).toBeFalsy();
  });
});