Yuriy Grunin

Results 90 comments of Yuriy Grunin

I understand that, but karma is deprecated. Do ng team have some view on the future of the unit testing framework that will be used instead of it? If it's...

> I'd recommend to stay away from fakeAsync for (new) unit tests So what do you suggest to use instead in a zone.js based app? Shall we use [vi.useFakeTimers](https://vitest.dev/guide/mocking.html#timers) instead?

I mean, if I have e.g. `setTimeout(5000)` in the component's code I'd like to avoid waiting 5 seconds in the unit tests. What should be used instead of `fakeAsync` in...

Yep, that would be nice and should be rather easy to do for most of the deps, but some of them e.g. `npm-check-updates` may not be as easy and may...

@chimurai could you take a look please? It looks like `` component is not registered for some reason as in the Vitest console I see the following message: ``` NG0304:...

What do you mean by my case? I've just created a smallest example to show the bug in `createHostFactory`.

@KlausEverWalkingDev what options? `hostProps`? All those options are optional as I may want to just test that my component correctly projects the content I passed to it e.g. ```ts spectator...

Because it's not a standalone component. In my example the tested component (`app-button`) doesn't have any dependencies, but in the real world use case it may use tens of dependent...