Source code

Revision control

Copy as Markdown

Other Tools

'use strict';
define('quickstart/tests/app.lint-test', [], function () {
'use strict';
QUnit.module('ESLint | app');
QUnit.test('app.js', function (assert) {
assert.expect(1);
assert.ok(true, 'app.js should pass ESLint\n\n');
});
QUnit.test('resolver.js', function (assert) {
assert.expect(1);
assert.ok(true, 'resolver.js should pass ESLint\n\n');
});
QUnit.test('router.js', function (assert) {
assert.expect(1);
assert.ok(true, 'router.js should pass ESLint\n\n');
});
});
define('quickstart/tests/test-helper', ['quickstart/app', 'quickstart/config/environment', '@ember/test-helpers', 'ember-qunit'], function (_app, _environment, _testHelpers, _emberQunit) {
'use strict';
(0, _testHelpers.setApplication)(_app.default.create(_environment.default.APP));
(0, _emberQunit.start)();
});
define('quickstart/tests/tests.lint-test', [], function () {
'use strict';
QUnit.module('ESLint | tests');
QUnit.test('test-helper.js', function (assert) {
assert.expect(1);
assert.ok(true, 'test-helper.js should pass ESLint\n\n');
});
});
define('quickstart/config/environment', [], function() {
var prefix = 'quickstart';
try {
var metaName = prefix + '/config/environment';
var rawConfig = document.querySelector('meta[name="' + metaName + '"]').getAttribute('content');
var config = JSON.parse(unescape(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('quickstart/tests/test-helper');
EmberENV.TESTS_FILE_LOADED = true;
//# sourceMappingURL=tests.map