'use strict';

define("tmp-75503-wnx-it-ktvzb1g/tests/acceptance/visual-regression-test-test", ["qunit", "@ember/test-helpers", "ember-qunit", "@percy/ember"], function (_qunit, _testHelpers, _emberQunit, _ember) {
  "use strict";

  0; //eaimeta@70e063a35619d71f0,"qunit",0,"@ember/test-helpers",0,"ember-qunit",0,"@percy/ember"eaimeta@70e063a35619d71f
  /* eslint-disable prettier/prettier */
  async function renderFromToc(tableOfContents, path = "") {
    for (const item of tableOfContents) {
      if (!item.pages || item.pages.length === 0) {
        await (0, _testHelpers.visit)(path + item.title);
        await (0, _ember.default)(path + item.title);
      } else {
        await renderFromToc(item.pages, `${path + item.title}/`);
      }
    }
  }
  (0, _qunit.module)('Acceptance | visual regression test', function (hooks) {
    (0, _emberQunit.setupApplicationTest)(hooks);
    (0, _qunit.test)(`visiting visual regressions with Percy`, async function (assert) {
      assert.expect(0);
      await (0, _testHelpers.visit)('/');
      let tableOfContents = this.owner.lookup('controller:application').model;
      await renderFromToc(tableOfContents);
    });
  });
});
define("tmp-75503-wnx-it-ktvzb1g/tests/test-helper", ["tmp-75503-wnx-it-ktvzb1g/app", "tmp-75503-wnx-it-ktvzb1g/config/environment", "qunit", "@ember/test-helpers", "qunit-dom", "ember-qunit"], function (_app, _environment, QUnit, _testHelpers, _qunitDom, _emberQunit) {
  "use strict";

  0; //eaimeta@70e063a35619d71f0,"tmp-75503-wnx-it-ktvzb1g/app",0,"tmp-75503-wnx-it-ktvzb1g/config/environment",0,"qunit",0,"@ember/test-helpers",0,"qunit-dom",0,"ember-qunit"eaimeta@70e063a35619d71f
  (0, _testHelpers.setApplication)(_app.default.create(_environment.default.APP));
  (0, _qunitDom.setup)(QUnit.assert);
  (0, _emberQunit.start)();
});
define('tmp-75503-wnx-it-ktvzb1g/config/environment', [], function() {
  if (typeof FastBoot !== 'undefined') {
return FastBoot.config('tmp-75503-wnx-it-ktvzb1g');
} else {
var prefix = 'tmp-75503-wnx-it-ktvzb1g';try {
  var metaName = prefix + '/config/environment';
  var rawConfig = document.querySelector('meta[name="' + metaName + '"]').getAttribute('content');
  var config = JSON.parse(decodeURIComponent(rawConfig));

  var exports = { 'default': config };

  Object.defineProperty(exports, '__esModule', { value: true });

  return exports;
}
catch(err) {
  throw new Error('Could not read config from meta tag with name "' + metaName + '".');
}

}
});

require('tmp-75503-wnx-it-ktvzb1g/tests/test-helper');
EmberENV.TESTS_FILE_LOADED = true;
//# sourceMappingURL=tests.map
