UNPKG

ember-smooch

Version:

Easily add smooch.io to your application

172 lines (144 loc) 5.99 kB
define('dummy/tests/app.jshint', ['exports'], function (exports) { 'use strict'; QUnit.module('JSHint - app.js'); QUnit.test('should pass jshint', function (assert) { assert.expect(1); assert.ok(true, 'app.js should pass jshint.'); }); }); define('dummy/tests/helpers/destroy-app', ['exports', 'ember'], function (exports, _ember) { exports['default'] = destroyApp; function destroyApp(application) { _ember['default'].run(application, 'destroy'); } }); define('dummy/tests/helpers/destroy-app.jshint', ['exports'], function (exports) { 'use strict'; QUnit.module('JSHint - helpers/destroy-app.js'); QUnit.test('should pass jshint', function (assert) { assert.expect(1); assert.ok(true, 'helpers/destroy-app.js should pass jshint.'); }); }); define('dummy/tests/helpers/module-for-acceptance', ['exports', 'qunit', 'dummy/tests/helpers/start-app', 'dummy/tests/helpers/destroy-app'], function (exports, _qunit, _dummyTestsHelpersStartApp, _dummyTestsHelpersDestroyApp) { exports['default'] = function (name) { var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1]; (0, _qunit.module)(name, { beforeEach: function beforeEach() { this.application = (0, _dummyTestsHelpersStartApp['default'])(); if (options.beforeEach) { options.beforeEach.apply(this, arguments); } }, afterEach: function afterEach() { (0, _dummyTestsHelpersDestroyApp['default'])(this.application); if (options.afterEach) { options.afterEach.apply(this, arguments); } } }); }; }); define('dummy/tests/helpers/module-for-acceptance.jshint', ['exports'], function (exports) { 'use strict'; QUnit.module('JSHint - helpers/module-for-acceptance.js'); QUnit.test('should pass jshint', function (assert) { assert.expect(1); assert.ok(true, 'helpers/module-for-acceptance.js should pass jshint.'); }); }); define('dummy/tests/helpers/resolver', ['exports', 'dummy/resolver', 'dummy/config/environment'], function (exports, _dummyResolver, _dummyConfigEnvironment) { var resolver = _dummyResolver['default'].create(); resolver.namespace = { modulePrefix: _dummyConfigEnvironment['default'].modulePrefix, podModulePrefix: _dummyConfigEnvironment['default'].podModulePrefix }; exports['default'] = resolver; }); define('dummy/tests/helpers/resolver.jshint', ['exports'], function (exports) { 'use strict'; QUnit.module('JSHint - helpers/resolver.js'); QUnit.test('should pass jshint', function (assert) { assert.expect(1); assert.ok(true, 'helpers/resolver.js should pass jshint.'); }); }); define('dummy/tests/helpers/start-app', ['exports', 'ember', 'dummy/app', 'dummy/config/environment'], function (exports, _ember, _dummyApp, _dummyConfigEnvironment) { exports['default'] = startApp; function startApp(attrs) { var application = undefined; var attributes = _ember['default'].merge({}, _dummyConfigEnvironment['default'].APP); attributes = _ember['default'].merge(attributes, attrs); // use defaults, but you can override; _ember['default'].run(function () { application = _dummyApp['default'].create(attributes); application.setupForTesting(); application.injectTestHelpers(); }); return application; } }); define('dummy/tests/helpers/start-app.jshint', ['exports'], function (exports) { 'use strict'; QUnit.module('JSHint - helpers/start-app.js'); QUnit.test('should pass jshint', function (assert) { assert.expect(1); assert.ok(true, 'helpers/start-app.js should pass jshint.'); }); }); define('dummy/tests/resolver.jshint', ['exports'], function (exports) { 'use strict'; QUnit.module('JSHint - resolver.js'); QUnit.test('should pass jshint', function (assert) { assert.expect(1); assert.ok(true, 'resolver.js should pass jshint.'); }); }); define('dummy/tests/router.jshint', ['exports'], function (exports) { 'use strict'; QUnit.module('JSHint - router.js'); QUnit.test('should pass jshint', function (assert) { assert.expect(1); assert.ok(true, 'router.js should pass jshint.'); }); }); define('dummy/tests/test-helper', ['exports', 'dummy/tests/helpers/resolver', 'ember-qunit'], function (exports, _dummyTestsHelpersResolver, _emberQunit) { (0, _emberQunit.setResolver)(_dummyTestsHelpersResolver['default']); }); define('dummy/tests/test-helper.jshint', ['exports'], function (exports) { 'use strict'; QUnit.module('JSHint - test-helper.js'); QUnit.test('should pass jshint', function (assert) { assert.expect(1); assert.ok(true, 'test-helper.js should pass jshint.'); }); }); define('dummy/tests/unit/initializers/ember-smooch-test', ['exports', 'ember', 'dummy/initializers/browser/ember-smooch', 'qunit'], function (exports, _ember, _dummyInitializersBrowserEmberSmooch, _qunit) { var application = undefined; (0, _qunit.module)('Unit | Initializer | ember smooch', { beforeEach: function beforeEach() { _ember['default'].run(function () { application = _ember['default'].Application.create(); application.deferReadiness(); }); } }); // Replace this with your real tests. (0, _qunit.test)('it works', function (assert) { _dummyInitializersBrowserEmberSmooch['default'].initialize(application); // you would normally confirm the results of the initializer here assert.ok(true); }); }); define('dummy/tests/unit/initializers/ember-smooch-test.jshint', ['exports'], function (exports) { 'use strict'; QUnit.module('JSHint - unit/initializers/ember-smooch-test.js'); QUnit.test('should pass jshint', function (assert) { assert.expect(1); assert.ok(true, 'unit/initializers/ember-smooch-test.js should pass jshint.'); }); }); /* jshint ignore:start */ require('dummy/tests/test-helper'); EmberENV.TESTS_FILE_LOADED = true; /* jshint ignore:end */ //# sourceMappingURL=tests.map