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

Removes [ejs](https://github.com/mde/ejs). It's no longer used after updating ancestor dependency [@angular/cli](https://github.com/angular/angular-cli). These dependencies need to be updated together. Removes `ejs` Updates `@angular/cli` from 1.7.4 to 17.3.6 Release notes Sourced from...

dependencies
javascript

Removes [ejs](https://github.com/mde/ejs). It's no longer used after updating ancestor dependency [@angular-devkit/build-angular](https://github.com/angular/angular-cli). These dependencies need to be updated together. Removes `ejs` Updates `@angular-devkit/build-angular` from 0.8.9 to 17.3.6 Release notes Sourced from...

dependencies
javascript

### Description of the bug Using MockComponent to mock one dependent child Component all other child Components are mocked as well. ### An example of the bug If you have...

bug

Bumps [tree-kill](https://github.com/pkrumins/node-tree-kill) to 1.2.2 and updates ancestor dependency [@angular-devkit/build-angular](https://github.com/angular/angular-cli). These dependencies need to be updated together. Updates `tree-kill` from 1.2.1 to 1.2.2 Commits cb47838 1.2.2 deee138 fix: handle sanitising better,...

dependencies
javascript

ViewChild will always be null, and so there is no point in mocking it. viewChild.required throws an error in mocked components without this change. Fixes GH-8634

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [tslib](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/tslib)) | [`2.3.1` -> `2.6.2`](https://renovatebot.com/diffs/npm/tslib/2.3.1/2.6.2) |...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.5.2` -> `5.5.3`](https://renovatebot.com/diffs/npm/typescript/5.5.2/5.5.3) |...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.4.5` -> `5.5.3`](https://renovatebot.com/diffs/npm/typescript/5.4.5/5.5.3) |...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.4.5` -> `5.5.3`](https://renovatebot.com/diffs/npm/typescript/5.4.5/5.5.3) |...