Skip to content

Commit

Permalink
docs: improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
satanTime committed Oct 27, 2020
1 parent 5f44445 commit 1fd46c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ GIT_COMMITTER_EMAIL=best@coder.com

After that you need to execute 2 commands:

- `npm run release -- --no-ci` - to generate a release and public it on github.com
- `npm publish ./tmp/ng-mocks-N.N.N.tgz` - to publish it on npmjs.com
- `npm run release -- --no-ci` - to generate a release and publish it on [github.com](https://github.com/ike18t/ng-mocks/releases)
- `npm publish ./tmp/ng-mocks-N.N.N.tgz` - to publish it on [npmjs.com](https://www.npmjs.com/package/ng-mocks)

Profit.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ Yarn
Angular testing is fun and easy until you've met complex dependencies,
and setting up the `TestBed` becomes really annoying and time consuming.

`ngMocks` helps to bring fun and ease back allowing developers **to mock
and/or stub child components** and dependencies via a few lines of code with help of
`ngMocks` helps to bring fun and ease back allowing developers **to stub
and/or mock child components** and dependencies via a few lines of code with help of
[`MockComponent`](#how-to-mock-a-component),
[`MockDirective`](#how-to-mock-a-directive),
[`MockPipe`](#how-to-mock-a-pipe),
Expand Down Expand Up @@ -303,7 +303,7 @@ describe('Test', () => {
});
```

To mock the child component simply pass `DependencyComponent` into `MockComponent`:
To **mock the child component** simply pass `DependencyComponent` into `MockComponent`:

```typescript
beforeEach(() => {
Expand Down

0 comments on commit 1fd46c6

Please sign in to comment.