Skip to content

Format the templates of the plain glimmer integration tests from #21672 - #21697

Merged
ef4 merged 1 commit into
emberjs:mainfrom
NullVoxPopuli-ai-agent:nvp/vanilla-gjs-tests-layout
Oct 19, 2026
Merged

ef4 merged 1 commit into
emberjs:mainfrom
NullVoxPopuli-ai-agent:nvp/vanilla-gjs-tests-layout

Conversation

@NullVoxPopuli-ai-agent

Copy link
Copy Markdown
Contributor

Follow-up to #21672 and #21680. The tests from #21672 now have the same template layout as the tests from #21680.

No test was added, removed or renamed.

Change

I formatted these files with prettier-plugin-ember-template-tag, which is already in node_modules:

  • integration/helpers/concat-test.gjs
  • integration/helpers/log-test.gjs
  • integration/custom-helper-test.gjs

The plugin reports no changes for glimmer-component-test.gjs and if-laziness-test.gjs.

What the diff shows:

  • Two long one-line templates in concat-test.gjs are now on more than one line.
  • String literals in the templates use single quotes, from the singleQuote setting of the repo.

Semantic difference

concat-test, "it can be used as input for other helpers": the {{#if}} block now has white space around Truthy! and False. The first check is now assert.dom().hasText('Truthy!') and then await assert.stableRender(). Before, it was await assert.stableRender('Truthy!'), which compares the HTML exactly.

Checks

  • The 13 tests of the five files pass on the development build, on the production build, and with ALL_DEPRECATIONS_ENABLED=true.
  • The full suite passes on the development build: 9285 pass, 20 skip, 0 fail.
  • eslint and prettier --check pass.

🤖 Generated with Claude Code

Two long one-line templates in concat-test are now on more than one
line, like the tests from PR 21680. The format is the output of
prettier-plugin-ember-template-tag.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ef4
ef4 merged commit 22bc484 into emberjs:main Oct 19, 2026
68 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants