Skip to content

Commit

Permalink
chore(internal, tests): correctly configure maybeEmbroider
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Nov 14, 2021
1 parent bec8f68 commit b3c8f67
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion testing/ember-app/ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@ module.exports = function (defaults) {
// please specify an object with the list of modules as keys
// along with the exports of each module as its value.

return app.toTree();
// return app.toTree();
const { maybeEmbroider } = require('@embroider/test-setup');

return maybeEmbroider(app);
};
2 changes: 1 addition & 1 deletion testing/ember-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@ember/optional-features": "^2.0.0",
"@ember/test-helpers": "^2.4.2",
"@ember/test-waiters": "^3.0.0",
"@embroider/test-setup": "^0.47.1",
"@embroider/test-setup": "^0.47.2",
"@glimmer/component": "^1.0.4",
"@glimmer/tracking": "^1.0.4",
"@nullvoxpopuli/eslint-configs": "^2.1.1",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1453,10 +1453,10 @@
semver "^7.3.5"
typescript-memoize "^1.0.1"

"@embroider/test-setup@^0.47.1":
version "0.47.1"
resolved "https://registry.npmjs.org/@embroider/test-setup/-/test-setup-0.47.1.tgz#01f6921612b292cb721b2102b3f40dbc89131039"
integrity sha512-PKV+UBixVmkrXo/9AdrtvBccmTbTG9zgJUA/hvoHIGaUISW5cepWyLU0dqW3gE2ECJjrvc4+KtBUMOC1rEZ2Ng==
"@embroider/test-setup@^0.47.2":
version "0.47.2"
resolved "https://registry.npmjs.org/@embroider/test-setup/-/test-setup-0.47.2.tgz#acf3fa6a38fa97ff577be49df44d6ab30e2dc054"
integrity sha512-zTiNaicOeBJWQ+uAJOEg4Z4plmvF2Ckze+tMZ0sycp2o09UV72WC8s9L3pssWOGgHMV6Kl+eCfFQelWwUOqz1Q==
dependencies:
lodash "^4.17.21"
resolve "^1.20.0"
Expand Down

0 comments on commit b3c8f67

Please sign in to comment.