-
Notifications
You must be signed in to change notification settings - Fork 28
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
Move Array#fill to "write then read" methods so the template correctly updates #408
Conversation
@locks might be worth adding a simple test so we don’t regress in the future? |
test-app/tests/unit/array-test.ts
Outdated
@@ -49,7 +49,7 @@ const ARRAY_SETTER_METHODS = [ | |||
// vice versa). | |||
expectTypeOf<TrackedArray<unknown>>().toMatchTypeOf<Array<unknown>>(); | |||
|
|||
module('TrackedArray', function (hooks) { | |||
module.only('TrackedArray', function (hooks) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@locks assume we probably need this taken out too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤦 apologies
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@locks you're fine, just figured I could flag it for you before someone who can merge comes back 😉
The test failures on newer ember versions are because we need some blueprint updates. Working on that here: #409 |
If you rebase on master now tests should be passing. |
Thank you for the quick turnaround! |
I was using
Array#fill
to showcase how to useTrackedArray
and the template was not updating accordingly.