{"size": 499, "ext": "js", "max_stars_repo_path": "tests/unit/Embedding.spec.js", "max_stars_repo_name": "KlausSchaefers/qux-standalone", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "tests/unit/Embedding.spec.js", "max_issues_repo_name": "KlausSchaefers/qux-standalone", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "tests/unit/Embedding.spec.js", "max_forks_repo_name": "KlausSchaefers/qux-standalone", "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": 20.7916666667, "max_line_length": 66, "alphanum_fraction": 0.6733466934}
import app from './data/embedding.json'

import ModelTransformer from '../../src/qux/core/ModelTransformer'
import * as TestUtil from './TestUtil'

test('Test Emdedding', async () => {

  let t = new ModelTransformer(app, {
    css: {
      grid: true
    }
  }, 'LoginBox')
  let model = t.transform()

  expect(model).not.toBeNull()
  expect(model.screens.length).toBe(1)

  let screen = model.screens[0]
  expect(screen.isComponentScreen).toBe(true)

  console.debug(TestUtil.print(screen))


});