ng-mocks 14.3.2 → 14.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,6 @@
2
2
  [<img src="https://img.shields.io/npm/v/ng-mocks" alt="npm version" width="88" height="20" />](https://www.npmjs.com/package/ng-mocks)
3
3
  [<img src="https://img.shields.io/circleci/build/github/help-me-mom/ng-mocks/master" alt="build status" width="88" height="20" />](https://app.circleci.com/pipelines/github/help-me-mom/ng-mocks?branch=master)
4
4
  [<img src="https://img.shields.io/coveralls/github/help-me-mom/ng-mocks/master" alt="coverage status" width="104" height="20" />](https://coveralls.io/github/help-me-mom/ng-mocks?branch=master)
5
- [<img src="https://img.shields.io/lgtm/grade/javascript/g/help-me-mom/ng-mocks" alt="language grade" width="138" height="20" />](https://lgtm.com/projects/g/help-me-mom/ng-mocks/context:javascript)
6
5
 
7
6
  # Mock components, services and more out of annoying dependencies for simplification of Angular testing
8
7
 
@@ -86,6 +85,21 @@ describe('profile:builder', () => {
86
85
  ProfileComponent,
87
86
  ProfileModule,
88
87
  ).keep(ReactiveFormsModule);
88
+ // // or old fashion way
89
+ // return TestBed.configureTestingModule({
90
+ // imports: [
91
+ // MockModule(SharedModule), // mock
92
+ // ReactiveFormsModule, // real
93
+ // ],
94
+ // declarations: [
95
+ // ProfileComponent, // real
96
+ // MockPipe(CurrencyPipe), // mock
97
+ // MockDirective(HoverDirective), // mock
98
+ // ],
99
+ // providers: [
100
+ // MockProvider(AuthService), // mock
101
+ // ],
102
+ // }).compileComponents();
89
103
  });
90
104
 
91
105
  // A test to ensure that ProfileComponent