Conversation
📊 Package size report -0%↓
🤖 This report was automatically generated by pkg-size-action |
|
blueprint errors look legit --- js extensions are now gjs and such |
90256b8 to
5db56ff
Compare
|
@copilot why do we have a failure in the blueprint tests -- which dep caused that? |
|
@NullVoxPopuli I've opened a new pull request, #21199, to work on those changes. Once the pull request is ready, I'll request review from you. |
5db56ff to
fd4d111
Compare
|
@copilot look at the investigation in #21199 (comment) and fix the blueprint tests that are currently failing |
|
@NullVoxPopuli I've opened a new pull request, #21200, to work on those changes. Once the pull request is ready, I'll request review from you. |
- Update fixtures/component-test/app.gjs and addon.gjs to use parameterized <%= =%> templates for component, componentInvocation, and testDescription - Update component-test-test.js to expect .gjs files and pass testDescription - Update component-test.js to expect .gjs files in strict mode; add --loose flag to @ember/component test; update Foo::XFoo → XFoo componentInvocation - Update route-test.js: add strictRouteTemplate() helper; update all .hbs template expectations to .gjs with strictRouteTemplate(); update application.gjs removeSync; keep --loose and --route-authoring-format loose tests as-is (explicit loose mode) Root cause: ember-cli 6.11.0 now defaults to strict (GJS/template-tag) mode when creating new apps, so blueprints now generate .gjs files by default. Co-authored-by: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com>
…st.js - Remove glimmerComponentContents and templateOnlyContents which are no longer referenced (components now use fixture() calls instead of inline strings) - Run prettier on route-test.js to fix formatting issues Co-authored-by: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com>
When fixture() is called without options it returns a chai file object,
not a string. Calling .replace() on it throws a TypeError. Pass an empty
options object {} to force the helper to return a string so .replace()
works correctly for the class-name substitution.
Co-authored-by: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com>
Since --strict is now the default, add tests that explicitly pass --loose to verify .js files are still generated correctly in each context: - in app: component-test foo --loose → foo-test.js (app.js fixture) - in app: component-test x-foo --unit --loose → x-foo-test.js (unit.js) - in addon: component-test foo --loose → foo-test.js (addon.js fixture) - in addon: component-test foo --unit --loose → foo-test.js (addon-unit.js) - in in-repo-addon: component-test foo ... --loose → foo-test.js (app.js) - in in-repo-addon: component-test x-foo ... --unit --loose → x-foo-test.js Co-authored-by: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com>
update blueprint tests for ember-cli 6.11.0 strict/GJS mode defaults
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This PR contains the following updates:
🔧 This Pull Request updates lock files to use the latest dependency versions.
Configuration
📅 Schedule: Branch creation - "before 4am on monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.