Mehul Kar

Results 104 issues of Mehul Kar

we often write assertions in ember-land like this: ```js const i18n = this.owner.lookup('service:i18n') assert.dom('[data-test-foo'] .hasText(i18n.t('Some.Key')) ``` This test fails because `i18n.t('Some.Key')` is not a string and a TypeError is thrown:...

It would be nice to add a section on named blocks on this page: https://guides.emberjs.com/release/components/block-content/ I'm not seeing any content about this anywhere else or in search results either

`@action async foo() {}` seems like a really nice way to write code, but there are some gotchas that should be documented. Probably should go here: https://guides.emberjs.com/release/components/component-state-and-actions/ Following a discussion...

agenda

https://guides.emberjs.com/release/testing/testing-components/#toc_stubbing-services This section shows how to stub a service in a component test, but there is a caveat. If a service was accessed in an initializer, calling `register` will not...

The testing guides should/could have a section on how to write tests for different values in config/enviroment. My use case is for an addon, but it would be great to...

It would be nice if the rAF implementation was not loaded if the browser supports `IntersectionObserver`.

The `onEnter` and `onExit` callbacks currently receive the watched element as the first argument. It would be useful to receive the options that were passed when registering the callback as...

This may be a bit heretical / anti-11ty philosophy, but is there an opinion on how to compile and serve javascript? I want to write add some dynamic portions to...

enhancement