shallow-render icon indicating copy to clipboard operation
shallow-render copied to clipboard

Angular testing made easy with shallow rendering and easy mocking. https://getsaf.github.io/shallow-render

Results 21 shallow-render issues
Sort by recently updated
recently updated
newest added

Thanks a lot for updating shallow-render to work with Angular 14. After the update, when importing `Shallow` like this: ``` import { Shallow } from 'shallow-render'; ``` I got the...

I have an abstract base class that includes an @input property, when I extend that base class I use that input in many places in the extended class. The issue...

Verifying abstract class inheritance works with bindings Attempting to reproduce issues from #217

Quick one here. Why do I need to provide the `httpClient` when using `replaceModule` with the testing module? Error: `NullInjectorError: No provider for HttpClient!` ```it('should call correct http methods', async...

Hi! I didn't want to hijack #194, but this might have similar causes. I'm trying to convert my existing service tests to use shallow-render. The first test is already giving...

In the process of updating my project to angular 14, in which I am using Jest and Shallow-render for unit tests, I noticed a problem with mocking of RouterModule. Unit...

Since updating to Angular 14.2.0, all Shallow-specs for **Components with Directives in their temlates** are failing with this message: > Error: NG0202: This constructor is not compatible with Angular Dependency...

In my project, there are a few problematic component tests that occasionally creep past the 5s limit and cause Jasmine to fail awaiting the result of `shallow.render()`. One such component...

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4. Commits 6585820 Release version 1.15.4 of the npm package. 7a6567e Disallow bracketed hostnames. 05629af Prefer native URL instead of deprecated url.parse. 1cba8e8 Prefer native...

dependencies

Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.8 to 7.23.2. Release notes Sourced from @​babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...

dependencies