Skip to content
This repository has been archived by the owner on May 29, 2023. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
waterplea committed Jan 28, 2022
2 parents 2ebaf8d + 4563eab commit 515a619
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ These packages have synced versions down to minor.

Add constants imported from this package to providers of your `ServerAppModule`.
Typically, you can also use these mocks for tests. Idea of this package is — you shouldn't
have to mock DOM on the server side or test `isPLatformBrowser` all the time. Instead,
have to mock DOM on the server side or test `isPlatformBrowser` all the time. Instead,
you leverage Angular DI system to abstract from implementation. When possible, this package
will provide the same functionality on the server side as you have in browser. In other cases
you will get type-safe mocks and you can at least be sure you will not have
Expand All @@ -32,6 +32,7 @@ Add following line to your `server.ts` to mock native classes used in other @ng-
import '@ng-web-apis/universal/mocks';
```

> It is recommended to keep the import statement at the top of your `server.ts` file
## Tokens

You can provide tokens from this package into your `app.server.module.ts`
Expand Down

0 comments on commit 515a619

Please sign in to comment.