Skip to content

Convert more tests - #21680

Merged
NullVoxPopuli merged 2 commits into
emberjs:mainfrom
NullVoxPopuli-ai-agent:nvp/vanilla-gjs-tests-3
Oct 10, 2026
Merged

NullVoxPopuli merged 2 commits into
emberjs:mainfrom
NullVoxPopuli-ai-agent:nvp/vanilla-gjs-tests-3

Conversation

@NullVoxPopuli

@NullVoxPopuli NullVoxPopuli commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

to gjs / normal testing

A separate commit keeps the file history, because git does not detect
the rename after the rewrite.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@NullVoxPopuli
NullVoxPopuli marked this pull request as ready for review October 9, 2026 20:12
if (typeof expected === 'string') {
equalTokens(getContext().element, expected, `the rendered HTML is: \`${expected}\``);
equalTokens(
getContext().element.innerHTML.trim(),

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this does reduce fidelity, but makes working with the tests nicer.

If we come across a test that needs to assert preceeding and postfixxed invisible characters, we can... figure something out when we get there

The tests now use module and test from qunit, setupRenderingTest from
ember-qunit, and render and settled from @ember/test-helpers.

No test is added, removed or renamed.

The {{element}} helper tests, which are already plain tests, now use
assert.dom() and the same template layout as the ten files.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@NullVoxPopuli
NullVoxPopuli merged commit e436b92 into emberjs:main Oct 10, 2026
68 checks passed
@NullVoxPopuli
NullVoxPopuli deleted the nvp/vanilla-gjs-tests-3 branch October 10, 2026 03:05
@github-actions github-actions Bot mentioned this pull request Oct 10, 2026
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.

2 participants