-
-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
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
element doesn't exist on type TestContext #1306
Comments
That's correct! The main |
I see, thank you for the clarification and the provided solutions, really appreciated 👍 |
TypeScript error as it is not supposed to be publicly exposed: - emberjs/ember-test-helpers#1306 - https://github.com/emberjs/ember-qunit/blob/v8.0.1/docs/migration.md
TypeScript error as it is not supposed to be publicly exposed: - emberjs/ember-test-helpers#1306 - https://github.com/emberjs/ember-qunit/blob/v8.0.1/docs/migration.md
After this PRs have been merged
#1302
related to this one
#1301
The
TextContext
type doesn't have anelement
property defined.The issue seems to be that
TestContext
inherits fromBaseContext
and neither define anelement
property.Before the PR 1302 was merged the
BaseContext
was a dictionary{[key: string]: unknown}
and soelement
could be defined but without unknown as type. Now thatBaseContext
has been switched to anobject
,element
is not a property ofobject
The text was updated successfully, but these errors were encountered: