We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hbs
I would expect hbs would be ignored while folks incrementally migrate their tests.
For example:
test('...', async function (assert) { const Foo = <template>hi</template>; this.Foo = Foo; await render(hbs`<this.Foo />`); }
instead what happens is that you get this error:
> glint tests/integration/modifiers/ugh-test.gjs:13:36 - error TS1109: Expression expected. 13 await render(hbs`text <this.Foo />`); ~ tests/integration/modifiers/ugh-test.gjs:16:1 - error TS1160: Unterminated template literal. 16
import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; import { hbs } from 'ember-cli-htmlbars'; module('...', function (hooks) { setupRenderingTest(hooks); test('...', async function (assert) { const Foo = <template>hi there</template>; this.Foo = Foo; await render(hbs`text <this.Foo />`); }); });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I would expect
hbs
would be ignored while folks incrementally migrate their tests.For example:
instead what happens is that you get this error:
full file / repro
The text was updated successfully, but these errors were encountered: