Assertion failing in Ember beta/canary attempted to remove a function listener
See original GitHub issue- I am on the latest ember-intl version
- I have searched the issues of this repo and believe that this is not a duplicate
Tests in my addon are failing against beta/canary with the message
Error: Assertion Failed: You attempted to remove a function listener which did not exist on the instance, which means you may have attempted to remove it before it was added.
wheverever the {{t}}
helper is used. Since the same tests are failing on master
here I didn’t dig too much further just opening this issue for discussion and for others to find.
Steps to Reproduce
Run ember-intl
tests against beta/canary for example:
https://travis-ci.org/ember-intl/ember-intl/jobs/639709922#L605
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
Getting "Error: Assertion Failed: calling set on destroyed object ...
After destroyRecord , the record is gone and the deletion cannot be rolled back. The catch clause will just catch a server error....
Read more >Assertion Error : App Version has already been registered
Im using ember to develop a project. Please help me with this error. Im unable to run my project on local. After hitting...
Read more >Instead of setTimeout, use run.later | Async testing - EmberMap
run.later is a function provided by Ember that is equivalent in functionality to ... test('I can delete a blog post', async function(assert) {...
Read more >ember-qunit | Yarn - Package Manager
ember -qunit simplifies testing of Ember applications with QUnit by providing ... #972 Add support for Ember v4, drop support for < Ember...
Read more >Ember.js Octane vs Classic Cheat Sheet
See side-by-side examples of Ember Octane and Ember Classic. ... default class MyComponent extends Component { willDestroy() { // Remove event listener }...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @kturney!
Resolved in 4.2.3 thanks to @kturney !