Closed
Description
🐞 Describe the Bug
Tests fail if variables clash with elements in the template
Example
await render(
<template>
<span>Hello World</span>
</template>
);
const span = find('span');
assert.dom(span).hasText();
Cannot access 'span' before initialization
🔬 Minimal Reproduction
😕 Actual Behavior
Test errors
🤔 Expected Behavior
I should be allowed to chose the variable name
🌍 Environment
- Ember: - 5.12
- Ember-CLI: - 5.12
- Node.js/npm: - 22.11
- OS: - mac
- Browser: - chrome
➕ Additional Context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
No labels