StackOverflow Questions for Tag: ng-mocks

Hakiim Rosli
Hakiim Rosli

Reputation: 1

Angular 19 with ng-mocks: How can I configure mocked pipes as non-standalone?

Score: 0

Views: 46

Answers: 0

Read More
Peter T.
Peter T.

Reputation: 3325

How to render `<ng-container *ngTemplateOutlet="someTemplate" />` when using testing library and MockBuilder?

Score: 0

Views: 30

Answers: 1

Read More
mathematics-and-caffeine
mathematics-and-caffeine

Reputation: 2205

How to mock firebase using Jasmine or ng-mocks

Score: 1

Views: 110

Answers: 1

Read More
JDillon522
JDillon522

Reputation: 19686

NgMocks: cannot write test for canActivate guard

Score: 0

Views: 409

Answers: 1

Read More
Pieterjan
Pieterjan

Reputation: 3581

angular jest unit test fails on contentChildren, but works with @ContentChildren decorator

Score: 2

Views: 684

Answers: 1

Read More
jan.vdbergh
jan.vdbergh

Reputation: 2119

How to add ng-mocks to a fresh Angular 15 project

Score: 2

Views: 1512

Answers: 1

Read More
Cody Pritchard
Cody Pritchard

Reputation: 897

Mock import of lazy loaded standalone component

Score: 1

Views: 287

Answers: 2

Read More
iamsar
iamsar

Reputation: 1130

How can I manipulate providers in specific tests using ng-mocks?

Score: 3

Views: 3061

Answers: 2

Read More

How to test an Angular Component with TranslateTestingModule.withTranslations() using MockBuilder (from ng-mocks)

Score: 0

Views: 78

Answers: 1

Read More
Giorgio
Giorgio

Reputation: 144

How to setup dependecies with ngmocks for a service

Score: 0

Views: 61

Answers: 0

Read More
AillaEww
AillaEww

Reputation: 11

"TypeError: Cannot read properties of undefined (reading 'pipe') error in Angular ng-mocks library unit test

Score: 1

Views: 322

Answers: 0

Read More
Peter T.
Peter T.

Reputation: 3325

Injection of mocked service fails for nested service when testing an Angular app with ng-mocks

Score: 1

Views: 95

Answers: 0

Read More
mathematics-and-caffeine
mathematics-and-caffeine

Reputation: 2205

When does Jasmine reset the spies?

Score: -2

Views: 121

Answers: 1

Read More
mathematics-and-caffeine
mathematics-and-caffeine

Reputation: 2205

ng-mocks: What is ".point"?

Score: -1

Views: 204

Answers: 1

Read More
Eyal
Eyal

Reputation: 203

Using ng-mocks, how do I render a template that is not wrapped by any directive or component?

Score: 1

Views: 943

Answers: 2

Read More
Tomas J
Tomas J

Reputation: 31

Angular unit test problem with ngModel using ng-mocks

Score: 2

Views: 887

Answers: 1

Read More
Rob
Rob

Reputation: 85

ng-mocks - how to create a mock of a service, outside of a Component test bed context?

Score: 1

Views: 1605

Answers: 1

Read More
Munzer
Munzer

Reputation: 2318

Weird behavior after updating ng-mocks, Testbed.create component behavior changes after the update

Score: 1

Views: 219

Answers: 1

Read More
MarcL
MarcL

Reputation: 3593

Angular test jasmine, ng-mocks

Score: 1

Views: 431

Answers: 1

Read More
Phil
Phil

Reputation: 7607

ng-mocks not instantiating tested component

Score: 2

Views: 771

Answers: 1

Read More
PreviousPage 1Next