ember-source 4.6.0-alpha.6 → 4.7.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/CHANGELOG.md +11 -7
  2. package/blueprints/-utils.js +9 -0
  3. package/blueprints/acceptance-test/index.js +3 -1
  4. package/blueprints/acceptance-test/mocha-rfc-232-files/tests/acceptance/__name__-test.ts +1 -1
  5. package/blueprints/acceptance-test/qunit-rfc-232-files/tests/acceptance/__name__-test.ts +1 -1
  6. package/blueprints/component-test/index.js +2 -0
  7. package/blueprints/component-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.ts +2 -2
  8. package/blueprints/component-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.ts +2 -2
  9. package/blueprints/controller-test/index.js +2 -0
  10. package/blueprints/controller-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.ts +1 -1
  11. package/blueprints/controller-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.ts +1 -1
  12. package/blueprints/helper-test/index.js +2 -3
  13. package/blueprints/helper-test/mocha-rfc-232-files/__root__/__testType__/__collection__/__name__-test.ts +1 -1
  14. package/blueprints/helper-test/qunit-rfc-232-files/__root__/__testType__/__collection__/__name__-test.ts +1 -1
  15. package/blueprints/initializer-test/index.js +2 -3
  16. package/blueprints/instance-initializer-test/index.js +2 -4
  17. package/blueprints/route-test/index.js +2 -0
  18. package/blueprints/route-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.ts +1 -1
  19. package/blueprints/route-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.ts +1 -1
  20. package/blueprints/service-test/index.js +2 -0
  21. package/blueprints/service-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.ts +1 -1
  22. package/blueprints/service-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.ts +1 -1
  23. package/blueprints/util-test/index.js +2 -2
  24. package/blueprints/util-test/qunit-files/__root__/__testType__/__name__-test.js +1 -1
  25. package/blueprints/util-test/qunit-rfc-232-files/__root__/__testType__/__name__-test.ts +1 -1
  26. package/blueprints-js/acceptance-test/mocha-rfc-232-files/tests/acceptance/__name__-test.js +1 -1
  27. package/blueprints-js/acceptance-test/qunit-rfc-232-files/tests/acceptance/__name__-test.js +1 -1
  28. package/blueprints-js/component-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js +2 -2
  29. package/blueprints-js/component-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.js +2 -2
  30. package/blueprints-js/controller-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js +1 -1
  31. package/blueprints-js/controller-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.js +1 -1
  32. package/blueprints-js/helper-test/mocha-rfc-232-files/__root__/__testType__/__collection__/__name__-test.js +1 -1
  33. package/blueprints-js/helper-test/qunit-rfc-232-files/__root__/__testType__/__collection__/__name__-test.js +1 -1
  34. package/blueprints-js/route-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js +1 -1
  35. package/blueprints-js/route-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.js +1 -1
  36. package/blueprints-js/service-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js +1 -1
  37. package/blueprints-js/service-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.js +1 -1
  38. package/blueprints-js/util-test/qunit-files/__root__/__testType__/__name__-test.js +1 -1
  39. package/blueprints-js/util-test/qunit-rfc-232-files/__root__/__testType__/__name__-test.js +1 -1
  40. package/build-metadata.json +3 -3
  41. package/dist/ember-template-compiler.js +5 -7
  42. package/dist/ember-template-compiler.map +1 -1
  43. package/dist/ember-testing.js +1 -1
  44. package/dist/ember-testing.map +1 -1
  45. package/dist/ember.debug.js +30 -30
  46. package/dist/ember.debug.map +1 -1
  47. package/dist/header/license.js +1 -1
  48. package/dist/packages/@ember/-internals/browser-environment/index.js +2 -3
  49. package/dist/packages/@ember/-internals/glimmer/index.js +4 -2
  50. package/dist/packages/@ember/-internals/metal/index.js +1 -1
  51. package/dist/packages/@ember/-internals/routing/lib/location/auto_location.js +5 -5
  52. package/dist/packages/@ember/-internals/routing/lib/location/hash_location.js +1 -1
  53. package/dist/packages/@ember/-internals/routing/lib/location/util.js +1 -1
  54. package/dist/packages/@ember/-internals/routing/lib/services/router.js +1 -1
  55. package/dist/packages/@ember/-internals/routing/lib/utils.js +1 -1
  56. package/dist/packages/@ember/application/instance.js +1 -1
  57. package/dist/packages/@ember/application/lib/application.js +11 -11
  58. package/dist/packages/ember/version.js +1 -1
  59. package/docs/data.json +46 -4
  60. package/package.json +2 -2
  61. package/blueprints-js/-addon-import.js +0 -48
  62. package/blueprints-js/test-framework-detector.js +0 -60
package/CHANGELOG.md CHANGED
@@ -1,18 +1,22 @@
1
1
  # Ember Changelog
2
2
 
3
- ### v4.5.0-beta.2 (June 6, 2022)
3
+ ### v4.6.0-beta.1 (June 13, 2022)
4
4
 
5
- - [#20082](https://github.com/emberjs/ember.js/pull/20082) [BUGFIX] Fix blueprint generation
5
+ No new external changes.
6
6
 
7
- ### v4.4.1 (May 31, 2022)
8
-
9
- - [#20082](https://github.com/emberjs/ember.js/pull/20082) [BUGFIX] Fix blueprints publication
10
-
11
- ### v4.5.0-beta.1 (May 2, 2022)
7
+ ### v4.5.0 (June 13, 2022)
12
8
 
13
9
  - [#20052](https://github.com/emberjs/ember.js/pull/20052) / [#20055](https://github.com/emberjs/ember.js/pull/20055) [FEATURE] Add the default helper manager to implement [RFC #0756](https://github.com/emberjs/rfcs/blob/master/text/0756-helper-default-manager.md).
14
10
  - [#20053](https://github.com/emberjs/ember.js/pull/20053) [FEATURE] Expose `renderSettled` from `@ember/renderer` to enable implementation of [RFC #0785](https://github.com/emberjs/rfcs/blob/master/text/0785-remove-set-get-in-tests.md).
15
11
 
12
+ ### v4.4.2 (June 13, 2022)
13
+
14
+ - [#20114](https://github.com/emberjs/ember.js/pull/20114) [BUGFIX] Fix generated import paths for test setup functions in addons
15
+
16
+ ### v4.4.1 (May 31, 2022)
17
+
18
+ - [#20082](https://github.com/emberjs/ember.js/pull/20082) [BUGFIX] Fix blueprints publication
19
+
16
20
  ### v4.4.0 (May 2, 2022)
17
21
 
18
22
  - [#19882](https://github.com/emberjs/ember.js/pull/19882) / [#20005](https://github.com/emberjs/ember.js/pull/20005) [FEATURE] Implement the `unique-id` helper per [RFC #0659](https://github.com/emberjs/rfcs/blob/master/text/0659-unique-id-helper.md).
@@ -0,0 +1,9 @@
1
+ const { dasherize } = require('ember-cli-string-utils');
2
+
3
+ function modulePrefixForProject(project) {
4
+ return dasherize(project.config().modulePrefix);
5
+ }
6
+
7
+ module.exports = {
8
+ modulePrefixForProject,
9
+ };
@@ -6,6 +6,7 @@ const pathUtil = require('ember-cli-path-utils');
6
6
  const stringUtils = require('ember-cli-string-utils');
7
7
 
8
8
  const maybePolyfillTypeScriptBlueprints = require('../-maybe-polyfill-typescript-blueprints');
9
+ const { modulePrefixForProject } = require('../-utils');
9
10
  const useTestFrameworkDetector = require('../test-framework-detector');
10
11
 
11
12
  module.exports = useTestFrameworkDetector({
@@ -35,7 +36,8 @@ module.exports = useTestFrameworkDetector({
35
36
  ].join(' | ');
36
37
 
37
38
  return {
38
- testFolderRoot: testFolderRoot,
39
+ modulePrefix: modulePrefixForProject(options.project),
40
+ testFolderRoot,
39
41
  friendlyTestName,
40
42
  destroyAppExists,
41
43
  };
@@ -1,6 +1,6 @@
1
1
  import { describe, it } from 'mocha';
2
2
  import { expect } from 'chai';
3
- import { setupApplicationTest } from '<%= dasherizedPackageName %>/tests/helpers';
3
+ import { setupApplicationTest } from '<%= modulePrefix %>/tests/helpers';
4
4
  import { visit, currentURL } from '@ember/test-helpers';
5
5
 
6
6
  describe('<%= friendlyTestName %>', function () {
@@ -1,6 +1,6 @@
1
1
  import { module, test } from 'qunit';
2
2
  import { visit, currentURL } from '@ember/test-helpers';
3
- import { setupApplicationTest } from '<%= dasherizedPackageName %>/tests/helpers';
3
+ import { setupApplicationTest } from '<%= modulePrefix %>/tests/helpers';
4
4
 
5
5
  module('<%= friendlyTestName %>', function (hooks) {
6
6
  setupApplicationTest(hooks);
@@ -7,6 +7,7 @@ const getPathOption = require('ember-cli-get-component-path-option');
7
7
  const semver = require('semver');
8
8
 
9
9
  const maybePolyfillTypeScriptBlueprints = require('../-maybe-polyfill-typescript-blueprints');
10
+ const { modulePrefixForProject } = require('../-utils');
10
11
  const useTestFrameworkDetector = require('../test-framework-detector');
11
12
 
12
13
  function invocationFor(options) {
@@ -81,6 +82,7 @@ module.exports = useTestFrameworkDetector({
81
82
  let selfCloseComponent = (descriptor) => `<${descriptor} />`;
82
83
 
83
84
  return {
85
+ modulePrefix: modulePrefixForProject(options.project),
84
86
  path: getPathOption(options),
85
87
  testType: testType,
86
88
  componentName,
@@ -1,6 +1,6 @@
1
1
  <% if (testType === 'integration') { %>import { expect } from 'chai';
2
2
  import { describe, it } from 'mocha';
3
- import { setupRenderingTest } from '<%= dasherizedPackageName %>/tests/helpers';
3
+ import { setupRenderingTest } from '<%= modulePrefix %>/tests/helpers';
4
4
  import { render } from '@ember/test-helpers';
5
5
  <%= hbsImportStatement %>
6
6
 
@@ -26,7 +26,7 @@ describe('<%= friendlyTestDescription %>', function () {
26
26
  });
27
27
  });<% } else if (testType === 'unit') { %>import { expect } from 'chai';
28
28
  import { describe, it } from 'mocha';
29
- import { setupTest } from '<%= dasherizedPackageName %>/tests/helpers';
29
+ import { setupTest } from '<%= modulePrefix %>/tests/helpers';
30
30
 
31
31
  describe('<%= friendlyTestDescription %>', function () {
32
32
  setupTest();
@@ -1,5 +1,5 @@
1
1
  <% if (testType === 'integration') { %>import { module, test } from 'qunit';
2
- import { setupRenderingTest } from '<%= dasherizedPackageName %>/tests/helpers';
2
+ import { setupRenderingTest } from '<%= modulePrefix %>/tests/helpers';
3
3
  import { render } from '@ember/test-helpers';
4
4
  <%= hbsImportStatement %>
5
5
 
@@ -24,7 +24,7 @@ module('<%= friendlyTestDescription %>', function (hooks) {
24
24
  assert.dom(this.element).hasText('template block text');
25
25
  });
26
26
  });<% } else if (testType === 'unit') { %>import { module, test } from 'qunit';
27
- import { setupTest } from '<%= dasherizedPackageName %>/tests/helpers';
27
+ import { setupTest } from '<%= modulePrefix %>/tests/helpers';
28
28
 
29
29
  module('<%= friendlyTestDescription %>', function (hooks) {
30
30
  setupTest(hooks);
@@ -6,6 +6,7 @@ const useTestFrameworkDetector = require('../test-framework-detector');
6
6
  const path = require('path');
7
7
 
8
8
  const maybePolyfillTypeScriptBlueprints = require('../-maybe-polyfill-typescript-blueprints');
9
+ const { modulePrefixForProject } = require('../-utils');
9
10
 
10
11
  module.exports = useTestFrameworkDetector({
11
12
  description: 'Generates a controller unit test.',
@@ -22,6 +23,7 @@ module.exports = useTestFrameworkDetector({
22
23
  let controllerPathName = dasherizedModuleName;
23
24
 
24
25
  return {
26
+ modulePrefix: modulePrefixForProject(options.project),
25
27
  controllerPathName: controllerPathName,
26
28
  friendlyTestDescription: ['Unit', 'Controller', dasherizedModuleName].join(' | '),
27
29
  };
@@ -1,6 +1,6 @@
1
1
  import { expect } from 'chai';
2
2
  import { describe, it } from 'mocha';
3
- import { setupTest } from '<%= dasherizedPackageName %>/tests/helpers';
3
+ import { setupTest } from '<%= modulePrefix %>/tests/helpers';
4
4
 
5
5
  describe('<%= friendlyTestDescription %>', function () {
6
6
  setupTest();
@@ -1,5 +1,5 @@
1
1
  import { module, test } from 'qunit';
2
- import { setupTest } from '<%= dasherizedPackageName %>/tests/helpers';
2
+ import { setupTest } from '<%= modulePrefix %>/tests/helpers';
3
3
 
4
4
  module('<%= friendlyTestDescription %>', function (hooks) {
5
5
  setupTest(hooks);
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- const stringUtils = require('ember-cli-string-utils');
4
3
  const isPackageMissing = require('ember-cli-is-package-missing');
5
4
  const semver = require('semver');
6
5
 
7
6
  const maybePolyfillTypeScriptBlueprints = require('../-maybe-polyfill-typescript-blueprints');
7
+ const { modulePrefixForProject } = require('../-utils');
8
8
 
9
9
  const useTestFrameworkDetector = require('../test-framework-detector');
10
10
 
@@ -34,15 +34,14 @@ module.exports = useTestFrameworkDetector({
34
34
 
35
35
  locals: function (options) {
36
36
  let friendlyTestName = ['Integration', 'Helper', options.entity.name].join(' | ');
37
- let dasherizedModulePrefix = stringUtils.dasherize(options.project.config().modulePrefix);
38
37
 
39
38
  let hbsImportStatement = this._useNamedHbsImport()
40
39
  ? "import { hbs } from 'ember-cli-htmlbars';"
41
40
  : "import hbs from 'htmlbars-inline-precompile';";
42
41
 
43
42
  return {
43
+ modulePrefix: modulePrefixForProject(options.project),
44
44
  friendlyTestName,
45
- dasherizedModulePrefix,
46
45
  hbsImportStatement,
47
46
  };
48
47
  },
@@ -1,6 +1,6 @@
1
1
  import { expect } from 'chai';
2
2
  import { describe, it } from 'mocha';
3
- import { setupRenderingTest } from '<%= dasherizedPackageName %>/tests/helpers';
3
+ import { setupRenderingTest } from '<%= modulePrefix %>/tests/helpers';
4
4
  import { render } from '@ember/test-helpers';
5
5
  <%= hbsImportStatement %>
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { module, test } from 'qunit';
2
- import { setupRenderingTest } from '<%= dasherizedPackageName %>/tests/helpers';
2
+ import { setupRenderingTest } from '<%= modulePrefix %>/tests/helpers';
3
3
  import { render } from '@ember/test-helpers';
4
4
  <%= hbsImportStatement %>
5
5
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  const fs = require('fs');
4
4
  const path = require('path');
5
- const stringUtils = require('ember-cli-string-utils');
6
5
 
7
6
  const maybePolyfillTypeScriptBlueprints = require('../-maybe-polyfill-typescript-blueprints');
7
+ const { modulePrefixForProject } = require('../-utils');
8
8
  const useTestFrameworkDetector = require('../test-framework-detector');
9
9
 
10
10
  module.exports = useTestFrameworkDetector({
@@ -29,10 +29,9 @@ module.exports = useTestFrameworkDetector({
29
29
  },
30
30
 
31
31
  locals: function (options) {
32
- let modulePrefix = stringUtils.dasherize(options.project.config().modulePrefix);
33
32
  return {
34
33
  friendlyTestName: ['Unit', 'Initializer', options.entity.name].join(' | '),
35
- modulePrefix,
34
+ modulePrefix: modulePrefixForProject(options.project),
36
35
  destroyAppExists: fs.existsSync(
37
36
  path.join(this.project.root, '/tests/helpers/destroy-app.js')
38
37
  ),
@@ -2,9 +2,9 @@
2
2
 
3
3
  const fs = require('fs');
4
4
  const path = require('path');
5
- const stringUtils = require('ember-cli-string-utils');
6
5
 
7
6
  const maybePolyfillTypeScriptBlueprints = require('../-maybe-polyfill-typescript-blueprints');
7
+ const { modulePrefixForProject } = require('../-utils');
8
8
  const useTestFrameworkDetector = require('../test-framework-detector');
9
9
 
10
10
  module.exports = useTestFrameworkDetector({
@@ -28,11 +28,9 @@ module.exports = useTestFrameworkDetector({
28
28
  };
29
29
  },
30
30
  locals: function (options) {
31
- let modulePrefix = stringUtils.dasherize(options.project.config().modulePrefix);
32
-
33
31
  return {
34
32
  friendlyTestName: ['Unit', 'Instance Initializer', options.entity.name].join(' | '),
35
- modulePrefix,
33
+ modulePrefix: modulePrefixForProject(options.project),
36
34
  destroyAppExists: fs.existsSync(
37
35
  path.join(this.project.root, '/tests/helpers/destroy-app.js')
38
36
  ),
@@ -5,6 +5,7 @@ const stringUtil = require('ember-cli-string-utils');
5
5
 
6
6
  const useTestFrameworkDetector = require('../test-framework-detector');
7
7
  const maybePolyfillTypeScriptBlueprints = require('../-maybe-polyfill-typescript-blueprints');
8
+ const { modulePrefixForProject } = require('../-utils');
8
9
 
9
10
  module.exports = useTestFrameworkDetector({
10
11
  description: 'Generates a route unit test.',
@@ -57,6 +58,7 @@ module.exports = useTestFrameworkDetector({
57
58
  }
58
59
 
59
60
  return {
61
+ modulePrefix: modulePrefixForProject(options.project),
60
62
  friendlyTestDescription: ['Unit', 'Route', options.entity.name].join(' | '),
61
63
  moduleName: stringUtil.dasherize(moduleName),
62
64
  };
@@ -1,6 +1,6 @@
1
1
  import { expect } from 'chai';
2
2
  import { describe, it } from 'mocha';
3
- import { setupTest } from '<%= dasherizedPackageName %>/tests/helpers';
3
+ import { setupTest } from '<%= modulePrefix %>/tests/helpers';
4
4
 
5
5
  describe('<%= friendlyTestDescription %>', function () {
6
6
  setupTest();
@@ -1,5 +1,5 @@
1
1
  import { module, test } from 'qunit';
2
- import { setupTest } from '<%= dasherizedPackageName %>/tests/helpers';
2
+ import { setupTest } from '<%= modulePrefix %>/tests/helpers';
3
3
 
4
4
  module('<%= friendlyTestDescription %>', function (hooks) {
5
5
  setupTest(hooks);
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const maybePolyfillTypeScriptBlueprints = require('../-maybe-polyfill-typescript-blueprints');
4
+ const { modulePrefixForProject } = require('../-utils');
4
5
  const useTestFrameworkDetector = require('../test-framework-detector');
5
6
 
6
7
  module.exports = useTestFrameworkDetector({
@@ -26,6 +27,7 @@ module.exports = useTestFrameworkDetector({
26
27
 
27
28
  locals(options) {
28
29
  return {
30
+ modulePrefix: modulePrefixForProject(options.project),
29
31
  friendlyTestDescription: ['Unit', 'Service', options.entity.name].join(' | '),
30
32
  };
31
33
  },
@@ -1,6 +1,6 @@
1
1
  import { expect } from 'chai';
2
2
  import { describe, it } from 'mocha';
3
- import { setupTest } from '<%= dasherizedPackageName %>/tests/helpers';
3
+ import { setupTest } from '<%= modulePrefix %>/tests/helpers';
4
4
 
5
5
  describe('<%= friendlyTestDescription %>', function () {
6
6
  setupTest();
@@ -1,5 +1,5 @@
1
1
  import { module, test } from 'qunit';
2
- import { setupTest } from '<%= dasherizedPackageName %>/tests/helpers';
2
+ import { setupTest } from '<%= modulePrefix %>/tests/helpers';
3
3
 
4
4
  module('<%= friendlyTestDescription %>', function (hooks) {
5
5
  setupTest(hooks);
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const stringUtils = require('ember-cli-string-utils');
4
3
  const path = require('path');
5
4
 
6
5
  const maybePolyfillTypeScriptBlueprints = require('../-maybe-polyfill-typescript-blueprints');
6
+ const { modulePrefixForProject } = require('../-utils');
7
7
  const useTestFrameworkDetector = require('../test-framework-detector');
8
8
 
9
9
  module.exports = useTestFrameworkDetector({
@@ -30,7 +30,7 @@ module.exports = useTestFrameworkDetector({
30
30
  locals: function (options) {
31
31
  return {
32
32
  friendlyTestName: ['Unit', 'Utility', options.entity.name].join(' | '),
33
- dasherizedModulePrefix: stringUtils.dasherize(options.project.config().modulePrefix),
33
+ modulePrefix: modulePrefixForProject(options.project),
34
34
  };
35
35
  },
36
36
  });
@@ -1,4 +1,4 @@
1
- import <%= camelizedModuleName %> from '<%= dasherizedModulePrefix %>/utils/<%= dasherizedModuleName %>';
1
+ import <%= camelizedModuleName %> from '<%= modulePrefix %>/utils/<%= dasherizedModuleName %>';
2
2
  import { module, test } from 'qunit';
3
3
 
4
4
  module('<%= friendlyTestName %>');
@@ -1,4 +1,4 @@
1
- import <%= camelizedModuleName %> from '<%= dasherizedModulePrefix %>/utils/<%= dasherizedModuleName %>';
1
+ import <%= camelizedModuleName %> from '<%= modulePrefix %>/utils/<%= dasherizedModuleName %>';
2
2
  import { module, test } from 'qunit';
3
3
 
4
4
  module('<%= friendlyTestName %>', function () {
@@ -1,6 +1,6 @@
1
1
  import { describe, it } from 'mocha';
2
2
  import { expect } from 'chai';
3
- import { setupApplicationTest } from '<%= dasherizedPackageName %>/tests/helpers';
3
+ import { setupApplicationTest } from '<%= modulePrefix %>/tests/helpers';
4
4
  import { visit, currentURL } from '@ember/test-helpers';
5
5
 
6
6
  describe('<%= friendlyTestName %>', function () {
@@ -1,6 +1,6 @@
1
1
  import { module, test } from 'qunit';
2
2
  import { visit, currentURL } from '@ember/test-helpers';
3
- import { setupApplicationTest } from '<%= dasherizedPackageName %>/tests/helpers';
3
+ import { setupApplicationTest } from '<%= modulePrefix %>/tests/helpers';
4
4
 
5
5
  module('<%= friendlyTestName %>', function (hooks) {
6
6
  setupApplicationTest(hooks);
@@ -1,6 +1,6 @@
1
1
  <% if (testType === 'integration') { %>import { expect } from 'chai';
2
2
  import { describe, it } from 'mocha';
3
- import { setupRenderingTest } from '<%= dasherizedPackageName %>/tests/helpers';
3
+ import { setupRenderingTest } from '<%= modulePrefix %>/tests/helpers';
4
4
  import { render } from '@ember/test-helpers';
5
5
  <%= hbsImportStatement %>
6
6
 
@@ -26,7 +26,7 @@ describe('<%= friendlyTestDescription %>', function () {
26
26
  });
27
27
  });<% } else if (testType === 'unit') { %>import { expect } from 'chai';
28
28
  import { describe, it } from 'mocha';
29
- import { setupTest } from '<%= dasherizedPackageName %>/tests/helpers';
29
+ import { setupTest } from '<%= modulePrefix %>/tests/helpers';
30
30
 
31
31
  describe('<%= friendlyTestDescription %>', function () {
32
32
  setupTest();
@@ -1,5 +1,5 @@
1
1
  <% if (testType === 'integration') { %>import { module, test } from 'qunit';
2
- import { setupRenderingTest } from '<%= dasherizedPackageName %>/tests/helpers';
2
+ import { setupRenderingTest } from '<%= modulePrefix %>/tests/helpers';
3
3
  import { render } from '@ember/test-helpers';
4
4
  <%= hbsImportStatement %>
5
5
 
@@ -24,7 +24,7 @@ module('<%= friendlyTestDescription %>', function (hooks) {
24
24
  assert.dom(this.element).hasText('template block text');
25
25
  });
26
26
  });<% } else if (testType === 'unit') { %>import { module, test } from 'qunit';
27
- import { setupTest } from '<%= dasherizedPackageName %>/tests/helpers';
27
+ import { setupTest } from '<%= modulePrefix %>/tests/helpers';
28
28
 
29
29
  module('<%= friendlyTestDescription %>', function (hooks) {
30
30
  setupTest(hooks);
@@ -1,6 +1,6 @@
1
1
  import { expect } from 'chai';
2
2
  import { describe, it } from 'mocha';
3
- import { setupTest } from '<%= dasherizedPackageName %>/tests/helpers';
3
+ import { setupTest } from '<%= modulePrefix %>/tests/helpers';
4
4
 
5
5
  describe('<%= friendlyTestDescription %>', function () {
6
6
  setupTest();
@@ -1,5 +1,5 @@
1
1
  import { module, test } from 'qunit';
2
- import { setupTest } from '<%= dasherizedPackageName %>/tests/helpers';
2
+ import { setupTest } from '<%= modulePrefix %>/tests/helpers';
3
3
 
4
4
  module('<%= friendlyTestDescription %>', function (hooks) {
5
5
  setupTest(hooks);
@@ -1,6 +1,6 @@
1
1
  import { expect } from 'chai';
2
2
  import { describe, it } from 'mocha';
3
- import { setupRenderingTest } from '<%= dasherizedPackageName %>/tests/helpers';
3
+ import { setupRenderingTest } from '<%= modulePrefix %>/tests/helpers';
4
4
  import { render } from '@ember/test-helpers';
5
5
  <%= hbsImportStatement %>
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { module, test } from 'qunit';
2
- import { setupRenderingTest } from '<%= dasherizedPackageName %>/tests/helpers';
2
+ import { setupRenderingTest } from '<%= modulePrefix %>/tests/helpers';
3
3
  import { render } from '@ember/test-helpers';
4
4
  <%= hbsImportStatement %>
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { expect } from 'chai';
2
2
  import { describe, it } from 'mocha';
3
- import { setupTest } from '<%= dasherizedPackageName %>/tests/helpers';
3
+ import { setupTest } from '<%= modulePrefix %>/tests/helpers';
4
4
 
5
5
  describe('<%= friendlyTestDescription %>', function () {
6
6
  setupTest();
@@ -1,5 +1,5 @@
1
1
  import { module, test } from 'qunit';
2
- import { setupTest } from '<%= dasherizedPackageName %>/tests/helpers';
2
+ import { setupTest } from '<%= modulePrefix %>/tests/helpers';
3
3
 
4
4
  module('<%= friendlyTestDescription %>', function (hooks) {
5
5
  setupTest(hooks);
@@ -1,6 +1,6 @@
1
1
  import { expect } from 'chai';
2
2
  import { describe, it } from 'mocha';
3
- import { setupTest } from '<%= dasherizedPackageName %>/tests/helpers';
3
+ import { setupTest } from '<%= modulePrefix %>/tests/helpers';
4
4
 
5
5
  describe('<%= friendlyTestDescription %>', function () {
6
6
  setupTest();
@@ -1,5 +1,5 @@
1
1
  import { module, test } from 'qunit';
2
- import { setupTest } from '<%= dasherizedPackageName %>/tests/helpers';
2
+ import { setupTest } from '<%= modulePrefix %>/tests/helpers';
3
3
 
4
4
  module('<%= friendlyTestDescription %>', function (hooks) {
5
5
  setupTest(hooks);
@@ -1,4 +1,4 @@
1
- import <%= camelizedModuleName %> from '<%= dasherizedModulePrefix %>/utils/<%= dasherizedModuleName %>';
1
+ import <%= camelizedModuleName %> from '<%= modulePrefix %>/utils/<%= dasherizedModuleName %>';
2
2
  import { module, test } from 'qunit';
3
3
 
4
4
  module('<%= friendlyTestName %>');
@@ -1,4 +1,4 @@
1
- import <%= camelizedModuleName %> from '<%= dasherizedModulePrefix %>/utils/<%= dasherizedModuleName %>';
1
+ import <%= camelizedModuleName %> from '<%= modulePrefix %>/utils/<%= dasherizedModuleName %>';
2
2
  import { module, test } from 'qunit';
3
3
 
4
4
  module('<%= friendlyTestName %>', function () {
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "4.6.0-alpha.6",
2
+ "version": "4.7.0-alpha.2",
3
3
  "buildType": "tag",
4
- "SHA": "7e4318edb0366ac4df79679bccd378d2d6db70d6",
5
- "assetPath": "/tag/shas/7e4318edb0366ac4df79679bccd378d2d6db70d6.tgz"
4
+ "SHA": "2be466a98bad34764b4dd3ef42fe57e5af57e66d",
5
+ "assetPath": "/tag/shas/2be466a98bad34764b4dd3ef42fe57e5af57e66d.tgz"
6
6
  }
@@ -6,7 +6,7 @@
6
6
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
7
7
  * @license Licensed under MIT license
8
8
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
9
- * @version 4.6.0-alpha.6
9
+ * @version 4.7.0-alpha.2
10
10
  */
11
11
 
12
12
  /* eslint-disable no-var */
@@ -112,7 +112,7 @@ define("@ember/-internals/browser-environment/index", ["exports"], function (_ex
112
112
  Object.defineProperty(_exports, "__esModule", {
113
113
  value: true
114
114
  });
115
- _exports.window = _exports.userAgent = _exports.location = _exports.isIE = _exports.isFirefox = _exports.isChrome = _exports.history = _exports.hasDOM = void 0;
115
+ _exports.window = _exports.userAgent = _exports.location = _exports.isFirefox = _exports.isChrome = _exports.history = _exports.hasDOM = void 0;
116
116
  // check if window exists and actually is the global
117
117
  var hasDom = typeof self === 'object' && self !== null && self.Object === Object && typeof Window !== 'undefined' && self.constructor === Window && typeof document === 'object' && document !== null && self.document === document && typeof location === 'object' && location !== null && self.location === location && typeof history === 'object' && history !== null && self.history === history && typeof navigator === 'object' && navigator !== null && self.navigator === navigator && typeof navigator.userAgent === 'string';
118
118
  _exports.hasDOM = hasDom;
@@ -126,10 +126,8 @@ define("@ember/-internals/browser-environment/index", ["exports"], function (_ex
126
126
  _exports.userAgent = userAgent;
127
127
  var isChrome = hasDom ? typeof chrome === 'object' && !(typeof opera === 'object') : false;
128
128
  _exports.isChrome = isChrome;
129
- var isFirefox = hasDom ? typeof InstallTrigger !== 'undefined' : false;
129
+ var isFirefox = hasDom ? /Firefox|FxiOS/.test(userAgent) : false;
130
130
  _exports.isFirefox = isFirefox;
131
- var isIE = hasDom ? typeof MSInputMethodContext !== 'undefined' && typeof documentMode !== 'undefined' : false;
132
- _exports.isIE = isIE;
133
131
  });
134
132
  define("@ember/-internals/environment/index", ["exports"], function (_exports) {
135
133
  "use strict";
@@ -17639,7 +17637,7 @@ define("ember-template-compiler/lib/plugins/assert-against-attrs", ["exports", "
17639
17637
 
17640
17638
  PathExpression(node) {
17641
17639
  if (isAttrs(node, stack[stack.length - 1])) {
17642
- var path = b.path(node.original.substr(6));
17640
+ var path = b.path(node.original.substring(6));
17643
17641
  (true && !(node.this !== false) && (0, _debug.assert)("Using {{attrs}} to reference named arguments is not supported. {{attrs." + path.original + "}} should be updated to {{@" + path.original + "}}. " + (0, _calculateLocationDisplay.default)(moduleName, node.loc), node.this !== false));
17644
17642
  }
17645
17643
  }
@@ -18739,7 +18737,7 @@ define("ember/version", ["exports"], function (_exports) {
18739
18737
  value: true
18740
18738
  });
18741
18739
  _exports.default = void 0;
18742
- var _default = "4.6.0-alpha.6";
18740
+ var _default = "4.7.0-alpha.2";
18743
18741
  _exports.default = _default;
18744
18742
  });
18745
18743
  define("simple-html-tokenizer", ["exports"], function (_exports) {