ng-mocks icon indicating copy to clipboard operation
ng-mocks copied to clipboard

Angular testing library for mocking components, directives, pipes, services and facilitating TestBed setup

Results 78 ng-mocks issues
Sort by recently updated
recently updated
newest added

### Description of the bug I am trying to write a test for a recursive standalone component, which imports a parent component, which imports this component, using `forwardRef(() => ParentComponent)`...

bug

### Description of the bug When using `MockBuilder` to replace a module import with a "testing module", that in turn imports some other "testing module" is not working as expected....

bug

### Discussed in https://github.com/help-me-mom/ng-mocks/discussions/5435 Originally posted by **maxs-rose** April 12, 2023 After running ~2K tests the JS heap reaches 1GB of memory usage and no longer goes down. ![image](https://user-images.githubusercontent.com/20226748/231575855-d4a4ce6a-8aa3-41c0-be28-acff82927987.png) There...

bug

An example of e2e and component testing with mocks.

### Describe the feature or problem you'd like to solve Since Angular 15, many module providers become root providers and because there is not an easy way to detect which...

enhancement

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [npm](https://docs.npmjs.com/) ([source](https://togithub.com/npm/cli)) | [`10.5.2` -> `10.8.0`](https://renovatebot.com/diffs/npm/npm/10.5.2/10.8.0) |...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@angular/animations](https://togithub.com/angular/angular) ([source](https://togithub.com/angular/angular/tree/HEAD/packages/animations)) | [`18.0.0-next.4` -> `18.0.0-rc.2`](https://renovatebot.com/diffs/npm/@angular%2fanimations/18.0.0-next.4/18.0.0-rc.2) |...

Adds a custom transformer to transform Angular Code, specifically, signals (input, query and models) to behave better in jit-environment. Solves #7976

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-unicorn](https://togithub.com/sindresorhus/eslint-plugin-unicorn) | [`52.0.0` -> `53.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-unicorn/52.0.0/53.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-unicorn/53.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)...